method

get

v1_9_1_378 - Show latest stable - Class: GetoptLong
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).