PATH:
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
GetoptLong
--- !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
[+]
Error
[-] each_option-i.yaml
[edit]
[-] set_options-i.yaml
[edit]
[-] get_option-i.yaml
[edit]
[-] set_error-i.yaml
[edit]
[-] terminate-i.yaml
[edit]
[+]
MissingArgument
[-] terminated%3f-i.yaml
[edit]
[+]
NeedlessArgument
[-] get-i.yaml
[edit]
[-] error_message-i.yaml
[edit]
[-] ordering%3d-i.yaml
[edit]
[-] cdesc-GetoptLong.yaml
[edit]
[+]
InvalidOption
[+]
..
[+]
AmbigousOption
[-] each-i.yaml
[edit]
[-] new-c.yaml
[edit]