File: C:/Ruby27-x64/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