Method: PryCommandSetRegistry.define_command_set
- Defined in:
- lib/pry_command_set_registry.rb
.define_command_set(name, description, options = {}) { ... } ⇒ PryCommandSetRegistry::CommandSet
Helper method for defining a command set and registering it immediately. All arguments are passed directly to CommandSet#initialize to instantiate a new command set.
59 |
# File 'lib/pry_command_set_registry.rb', line 59 def_delegators :registry, :command_set, :command_sets, :define_command_set |