Support for the Ruby 2.4 series has ended. See here for reference.
self
Switch that takes an argument.
Switch
Raises an exception if argument is not present.
# File optparse.rb, line 671 def parse(arg, argv) unless arg raise MissingArgument if argv.empty? arg = argv.shift end conv_arg(*parse_arg(arg, &method(:raise))) end
This page was generated for Ruby 2.4.9
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.