Module: Byebug::Subcommands::ClassMethods
- Includes:
- Helpers::ReflectionHelper
- Defined in:
- lib/byebug/subcommands.rb
Overview
Class methods added to subcommands
Instance Method Summary collapse
-
#help ⇒ Object
Default help text for a command with subcommands.
-
#subcommand_list ⇒ Object
Command’s subcommands.
Methods included from Helpers::ReflectionHelper
Instance Method Details
#help ⇒ Object
Default help text for a command with subcommands
42 43 44 |
# File 'lib/byebug/subcommands.rb', line 42 def help super + subcommand_list.to_s end |
#subcommand_list ⇒ Object
Command’s subcommands.
49 50 51 |
# File 'lib/byebug/subcommands.rb', line 49 def subcommand_list @subcommand_list ||= CommandList.new(commands) end |