Linux heracles.o2switch.net 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
/
opt
/
alt
/
ruby27
/
share
/
ri
/
system
/
Bundler
/
Thor
/
//opt/alt/ruby27/share/ri/system/Bundler/Thor/method_option-c.ri
U:RDoc::AnyMethod[iI"method_option:ETI"!Bundler::Thor::method_option;TT:privateo: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/bundler/vendor/thor/lib/thor.rb;T:0@omit_headings_from_table_of_contents_below000[[I"option;To;; [ ;@8;0I"(name, options = {});T@8FI" Thor;TcRDoc::NormalClass00