D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
Gem
/
Command
/
Filename :
new-c.ri
back
Copy
U:RDoc::AnyMethod[iI"new:ETI"Gem::Command::new;TT:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [ I"NInitializes a generic gem command named +command+. +summary+ is a short ;TI"Odescription displayed in `gem help commands`. +defaults+ are the default ;TI"Noptions. Defaults should be mirrored in #defaults_str, unless there are ;TI" none.;To:RDoc::Markup::BlankLine o; ; [I"NWhen defining a new command subclass, use add_option to add command-line ;TI"switches.;T@o; ; [I">Unhandled arguments (gem names, files, etc.) are left in ;TI"<tt>options[:args]</tt>.;T: @fileI"lib/rubygems/command.rb;T:0@omit_headings_from_table_of_contents_below000[ I"((command, summary=nil, defaults={});T@FI"Command;TcRDoc::NormalClass00