Class: CarbonMU::UnknownCommand

Inherits:
Command
  • Object
show all
Defined in:
lib/carbonmu/commands/unknown_command.rb

Instance Attribute Summary

Attributes inherited from Command

#context

Instance Method Summary collapse

Methods inherited from Command

command_classes, inherited, #initialize, syntax, syntaxes

Constructor Details

This class inherits a constructor from CarbonMU::Command

Instance Method Details

#executeObject



5
6
7
# File 'lib/carbonmu/commands/unknown_command.rb', line 5

def execute
  Notify.one(@context.enacting_connection, "Unknown command: #{@context.raw_command}")
end