method
terminate
ruby latest stable - Class:
OptionParser
terminate(arg = nil)public
Terminates option parsing. Optional parameter arg is a string pushed back to be the first non-option argument.
# File lib/optparse.rb, line 1076
def terminate(arg = nil)
self.class.terminate(arg)
end