Maintenance of Ruby 2.0.0 will end on February 24, 2016. Read more
self
Switch that takes an argument.
Raises an exception if argument is not present.
# File optparse.rb, line 494 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.0.0
Ruby-doc.org is a service of James Britt and Neurogami, a software development company in Scottsdale, AZ.
Generated with Ruby-doc Rdoc Generator 0.33.0.