Class: ModSpox::Messages::Incoming::Motd
- Defined in:
- lib/mod_spox/messages/incoming/Motd.rb
Instance Attribute Summary collapse
-
#motd ⇒ Object
readonly
Message of the day.
-
#server ⇒ Object
readonly
Server message is from.
Attributes inherited from Message
Instance Method Summary collapse
-
#initialize(raw, motd, server) ⇒ Motd
constructor
A new instance of Motd.
Constructor Details
#initialize(raw, motd, server) ⇒ Motd
Returns a new instance of Motd.
10 11 12 13 14 |
# File 'lib/mod_spox/messages/incoming/Motd.rb', line 10 def initialize(raw, motd, server) super(raw) @motd = motd @server = server end |
Instance Attribute Details
#motd ⇒ Object (readonly)
Message of the day
7 8 9 |
# File 'lib/mod_spox/messages/incoming/Motd.rb', line 7 def motd @motd end |
#server ⇒ Object (readonly)
Server message is from
9 10 11 |
# File 'lib/mod_spox/messages/incoming/Motd.rb', line 9 def server @server end |