D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
OptionParser
/
Switch
/
Filename :
parse_arg-i.yaml
back
Copy
--- !ruby/object:RI::MethodDescription aliases: [] block_params: (InvalidArgument, arg) comment: - !ruby/struct:SM::Flow::P body: Parses <tt>arg</tt> and returns rest of <tt>arg</tt> and matched portion to the argument pattern. Yields when the pattern doesn't match substring. full_name: OptionParser::Switch#parse_arg is_singleton: false name: parse_arg params: (arg) {|InvalidArgument, arg| ...} visibility: private