Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
opt
/
ruby-2.6
/
usr
/
share
/
ri
/
2.6.0
/
system
/
Bundler
/
Thor
/
Base
/
ClassMethods
/
//opt/ruby-2.6/usr/share/ri/2.6.0/system/Bundler/Thor/Base/ClassMethods/namespace-i.ri
U:RDoc::AnyMethod[iI"namespace:ETI"0Bundler::Thor::Base::ClassMethods#namespace;TF:publico: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