DSL-mode parser.
# File lib/standard/facets/getoptlong.rb, line 37 def flag(*opts) @arguments << (opts << GetoptLong::NO_ARGUMENT) end
# File lib/standard/facets/getoptlong.rb, line 50 def optional(*opts) @arguments << (opts << GetoptLong::OPTIONAL_ARGUMENT) end
# File lib/standard/facets/getoptlong.rb, line 42 def required(*opts) @arguments << (opts << GetoptLong::REQUIRED_ARGUMENT) end
# File lib/standard/facets/getoptlong.rb, line 31 def initialize(&block) @arguments = [] instance_eval(&block) end