Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
opt
/
ruby-2.7
/
usr
/
share
/
ri
/
2.7.0
/
system
/
Bundler
/
Thor
/
Base
/
ClassMethods
/
//opt/ruby-2.7/usr/share/ri/2.7.0/system/Bundler/Thor/Base/ClassMethods/no_commands-i.ri
U:RDoc::AnyMethod[iI"no_commands:ETI"2Bundler::Thor::Base::ClassMethods#no_commands;TF:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"JAll methods defined inside the given block are not added as commands.;To:RDoc::Markup::BlankLine o; ; [I"So you can do:;T@o:RDoc::Markup::Verbatim; [I"$class MyScript < Bundler::Thor ;TI" no_commands do ;TI"# def this_is_not_a_command ;TI" end ;TI" end ;TI" end ;T:@format0o; ; [I"EYou can also add the method and remove it from the command list:;T@o;; [ I"$class MyScript < Bundler::Thor ;TI"! def this_is_not_a_command ;TI" end ;TI"- remove_command :this_is_not_a_command ;TI"end;T; 0: @fileI"-lib/bundler/vendor/thor/lib/thor/base.rb;T:0@omit_headings_from_table_of_contents_below000[[I" no_tasks;To;; [ ;@$;0I" (&block);T@$FI"ClassMethods;TcRDoc::NormalModule00