Support for the Ruby 2.4 series has ended. See here for reference.
self
Switch that can omit argument.
Switch
Parses argument if given, or uses default value.
# File optparse.rb, line 688 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 2.4.2
Ruby-doc.org is provided by James Britt and Neurogami. Hack your world. Feed your head. Live curious.
Generated with Ruby-doc Rdoc Generator 0.42.0.