Module: Scripting::Commands::InstanceMethods
- Defined in:
- lib/scripting/commands.rb
Instance Method Summary collapse
Instance Method Details
#command(name, &blk) ⇒ Object
64 65 66 |
# File 'lib/scripting/commands.rb', line 64 def command name, &blk .commands[name] = Command.new(name).describe(&blk) end |