Class: CarbonMU::UnknownCommand

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

Instance Attribute Summary

Attributes inherited from Command

#context

Instance Method Summary collapse

Methods inherited from Command

#initialize, syntax, syntaxes

Constructor Details

This class inherits a constructor from CarbonMU::Command

Instance Method Details

#executeObject


3
4
5
# File 'lib/commands/unknown_command.rb', line 3

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