Mini Shell
--- !ruby/object:RI::MethodDescription
aliases: []
block_params:
comment:
- !ruby/struct:SM::Flow::P
body: "Inserts <tt>switch</tt> at the head of the list, and associates short, long and negated long options. Arguments are:"
- !ruby/object:SM::Flow::LIST
contents:
- !ruby/struct:SM::Flow::LI
label: "+switch+:"
body: OptionParser::Switch instance to be inserted.
- !ruby/struct:SM::Flow::LI
label: "+short_opts+:"
body: List of short style options.
- !ruby/struct:SM::Flow::LI
label: "+long_opts+:"
body: List of long style options.
- !ruby/struct:SM::Flow::LI
label: "+nolong_opts+:"
body: List of long style options with "no-" prefix.
type: :NOTE
- !ruby/struct:SM::Flow::VERB
body: " prepend(switch, short_opts, long_opts, nolong_opts)\n"
full_name: List#prepend
is_singleton: false
name: prepend
params: (*args)
visibility: public
Zerion Mini Shell 1.0