self
Switch that takes no arguments.
Switch
# File ruby-3.1.2/lib/optparse.rb, line 690 def self.incompatible_argument_styles(*) end
# File ruby-3.1.2/lib/optparse.rb, line 693 def self.pattern Object end
Raises an exception if any arguments given.
# File ruby-3.1.2/lib/optparse.rb, line 685 def parse(arg, argv) yield(NeedlessArgument, arg) if arg conv_arg(arg) end
This page was generated for Ruby 3.1.2
Ruby-doc.org is provided by James Britt and Neurogami. Maximum R+D.
Generated with Ruby-doc Rdoc Generator 0.42.0.