class Gem::OptionParser::List
def prepend(*args)
prepend(switch, short_opts, long_opts, nolong_opts)
+nolong_opts+:: List of long style options with "no-" prefix.
+long_opts+:: List of long style options.
+short_opts+:: List of short style options.
+switch+:: Gem::OptionParser::Switch instance to be inserted.
and negated long options. Arguments are:
Inserts +switch+ at the head of the list, and associates short, long
def prepend(*args) update(*args) @list.unshift(args[0]) end