Exception: IRCd::UnknownCommand
- Defined in:
- lib/rupircd/message.rb
Instance Attribute Summary collapse
-
#cmd ⇒ Object
readonly
Returns the value of attribute cmd.
Instance Method Summary collapse
-
#initialize(cmd) ⇒ UnknownCommand
constructor
A new instance of UnknownCommand.
Constructor Details
#initialize(cmd) ⇒ UnknownCommand
16 17 18 19 |
# File 'lib/rupircd/message.rb', line 16 def initialize(cmd) @cmd = cmd super("Unknown command: #@cmd") end |
Instance Attribute Details
#cmd ⇒ Object (readonly)
Returns the value of attribute cmd.
15 16 17 |
# File 'lib/rupircd/message.rb', line 15 def cmd @cmd end |