Method: CommandMapper::Command.command_name
- Defined in:
- lib/command_mapper/command.rb
permalink .command_name ⇒ String
Gets or sets the command name.
292 293 294 295 296 297 298 |
# File 'lib/command_mapper/command.rb', line 292 def self.command_name @command_name || if superclass < Command superclass.command_name else raise(NotImplementedError,"#{self} did not call command(...)") end end |