Current File : //proc/thread-self/root/proc/self/root/opt/alt/ruby18/share/ri/1.8/system/GetoptLong/new-c.yaml |
--- !ruby/object:RI::MethodDescription
aliases: []
block_params:
comment:
- !ruby/struct:SM::Flow::P
body: Set up option processing.
- !ruby/struct:SM::Flow::P
body: "The options to support are passed to new() as an array of arrays. Each sub-array contains any number of String option names which carry the same meaning, and one of the following flags:"
- !ruby/object:SM::Flow::LIST
contents:
- !ruby/struct:SM::Flow::LI
label: "GetoptLong::NO_ARGUMENT :"
body: Option does not take an argument.
- !ruby/struct:SM::Flow::LI
label: "GetoptLong::REQUIRED_ARGUMENT :"
body: Option always takes an argument.
- !ruby/struct:SM::Flow::LI
label: "GetoptLong::OPTIONAL_ARGUMENT :"
body: Option may or may not take an argument.
type: :NOTE
- !ruby/struct:SM::Flow::P
body: The first option name is considered to be the preferred (canonical) name. Other than that, the elements of each sub-array can be in any order.
full_name: GetoptLong::new
is_singleton: true
name: new
params: (*arguments)
visibility: public