Method: Spring.register_command
- Defined in:
- lib/spring/commands.rb
.register_command(name, command = nil) ⇒ Object
11 12 13 |
# File 'lib/spring/commands.rb', line 11 def self.register_command(name, command = nil) commands[name] = CommandWrapper.new(name, command) end |