method

update

v1_9_1_378 - Show latest stable - Class: OptionParser::List
update(sw, sopts, lopts, nsw = nil, nlopts = nil)
private

Adds sw according to sopts, lopts and nlopts.

sw

OptionParser::Switch instance to be added.

sopts

Short style option list.

lopts

Long style option list.

nlopts

Negated long style options list.