self
Switch that takes an argument.
Raises an exception if argument is not present.
# File optparse.rb, line 449 def parse(arg, argv) unless arg raise MissingArgument if argv.empty? arg = argv.shift end conv_arg(*parse_arg(arg) {|*exc| raise(*exc)}) end
This page was generated for Ruby 1.8.6
Ruby-doc.org is a service of James Britt and Neurogami, purveyors of fine dance noise.
Generated with Ruby-doc Rdoc Generator 0.44.0.