get() public

Get next option name and its argument, as an Array of two elements.

The option name is always converted to the first (preferred) name given in the original options to GetoptLong.new.

Example: [‘–option’, ‘value’]

Returns nil if the processing is complete (as determined by STATUS_TERMINATED).

Show source
Register or log in to add new notes.