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
/
Base
/
ClassMethods
/
//opt/alt/ruby27/share/ri/system/Bundler/Thor/Base/ClassMethods/namespace-i.ri
U:RDoc::AnyMethod[iI"namespace:ETI"0Bundler::Thor::Base::ClassMethods#namespace;TF:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"\Sets the namespace for the Bundler::Thor or Bundler::Thor::Group class. By default the ;TI"Vnamespace is retrieved from the class name. If your Bundler::Thor class is named ;TI"HScripts::MyScript, the help method, for example, will be called as:;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"thor scripts:my_script -h ;T:@format0o; ; [I"!If you change the namespace:;T@o;; [I"namespace :my_scripts ;T; 0o; ; [I".You change how your commands are invoked:;T@o;; [I"thor my_scripts -h ;T; 0o; ; [I"6Finally, if you change your namespace to default:;T@o;; [I"namespace :default ;T; 0o; ; [I">Your commands can be invoked with a shortcut. Instead of:;T@o;; [I"thor :my_command;T; 0: @fileI"-lib/bundler/vendor/thor/lib/thor/base.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(name = nil);T@,FI"ClassMethods;TcRDoc::NormalModule00