method

order

ruby latest stable - Class: OptionParser
order(*argv, into: nil, &nonopt)
public

Parses command line arguments argv in order. When a block is given, each non-option argument is yielded.

Returns the rest of argv left unparsed.