Extended maintenance of Ruby 1.9.3 ended on February 23, 2015. Read more
self
Switch that takes an argument.
Raises an exception if argument is not present.
# File optparse.rb, line 491 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 1.9.3
Ruby-doc.org is provided by James Britt and Neurogami. Maximum R+D.
Generated with Ruby-doc Rdoc Generator 0.44.0.