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.1.0
Ruby-doc.org is a service of James Britt and Neurogami, an erratic source of art, music, and technology.
Generated with Ruby-doc Rdoc Generator 0.42.0.