File: //usr/local/rvm/gems/default/doc/thor-1.1.0/ri/Thor/method_option-c.ri
U:RDoc::AnyMethod[iI"method_option:ETI"Thor::method_option;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"NAdds an option to the set of method options. If :for is given as option, ;TI"Iit allows you to change the options from a previous defined command.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"def previous_command
;TI" # magic
;TI" end
;TI"
;TI";method_option :foo => :bar, :for => :previous_command
;TI"
;TI"def next_command
;TI" # magic
;TI" end
;T:@format0S:RDoc::Markup::Heading:
leveli : textI"Parameters;To:RDoc::Markup::List:
@type: NOTE:@items[o:RDoc::Markup::ListItem:@label[I"name<Symbol>;T; [o;
; [I"The name of the argument.;To;;[I"options<Hash>;T; [o;
; [I"Described below.;T@S;;i ;I"Options;To;
; [I"/:desc - Description for the argument. ;TI"5:required - If the argument is required or not. ;TI"a:default - Default value for this argument. It cannot be required and have default values. ;TI"*:aliases - Aliases for this option. ;TI"`:type - The type of the argument, can be :string, :hash, :array, :numeric or :boolean. ;TI"0:banner - String to show on usage notes. ;TI"?:hide - If you want to hide this option from the help.;T:
@fileI"lib/thor.rb;T:0@omit_headings_from_table_of_contents_below000[[I"option;To;; [ ;@8;0I"(name, options = {});T@8FI" Thor;TcRDoc::NormalClass00