Module: CFnDK::SubcommandHelpReturnable::ClassMethods
- Included in:
- CFnDK::SubcommandHelpReturnable
- Defined in:
- lib/cfndk/subcommand_help_returnable.rb
Instance Method Summary collapse
Instance Method Details
#subcommand_help(cmd) ⇒ Object
4 5 6 7 8 9 |
# File 'lib/cfndk/subcommand_help_returnable.rb', line 4 def subcommand_help(cmd) desc 'help [COMMAND]', 'Describe subcommands or one specific subcommand' class_eval " def help(command = nil, subcommand = true); super; return 2; end " end |