Switch that takes no arguments.
Class Methods
2.3
View on GitHub
# File tmp/rubies/ruby-2.3.8/lib/optparse.rb, line 655
def self.incompatible_argument_styles(*)
end
No documentation available
.
2.3
View on GitHub
# File tmp/rubies/ruby-2.3.8/lib/optparse.rb, line 658
def self.pattern
Object
end
No documentation available
Instance Methods
2.3
View on GitHub
# File tmp/rubies/ruby-2.3.8/lib/optparse.rb, line 650
def parse(arg, argv)
yield(NeedlessArgument, arg) if arg
conv_arg(arg)
end
Raises an exception if any arguments given.