D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
Gem
/
Command
/
Filename :
add_option-i.ri
back
Copy
U:RDoc::AnyMethod[iI"add_option:ETI"Gem::Command#add_option;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I":Add a command-line option and handler to the command.;To:RDoc::Markup::BlankLine o; ; [I"DSee Gem::OptionParser#make_switch for an explanation of +opts+.;T@o; ; [I"M+handler+ will be called with two values, the value of the argument and ;TI"the options hash.;T@o; ; [I"IIf the first argument of add_option is a Symbol, it's used to group ;TI"<options in output. See `gem help list` for an example.;T: @fileI"lib/rubygems/command.rb;T:0@omit_headings_from_table_of_contents_below00I"value, options;T[ I"(*opts);T@FI"Command;TcRDoc::NormalClass00