self
Switch that can omit argument.
Switch
Parses argument if given, or uses default value.
# File rubygems/optparse/lib/optparse.rb, line 723 def parse(arg, argv, &error) if arg conv_arg(*parse_arg(arg, &error)) else conv_arg(arg) end end
This page was generated for Ruby 3.0.3
Ruby-doc.org is provided by James Britt and Neurogami. Maximum R+D.
Generated with Ruby-doc Rdoc Generator 0.42.0.