Class: ModSpox::Messages::Outgoing::Motd
- Inherits:
-
Object
- Object
- ModSpox::Messages::Outgoing::Motd
- Defined in:
- lib/mod_spox/messages/outgoing/Motd.rb
Instance Attribute Summary collapse
-
#target ⇒ Object
readonly
server to send request to.
Instance Method Summary collapse
-
#initialize(target = '') ⇒ Motd
constructor
- target
-
server to send request to Request MOTD from target server.
Constructor Details
#initialize(target = '') ⇒ Motd
- target
-
server to send request to
Request MOTD from target server. If no target is given it requests from the current server
10 11 12 |
# File 'lib/mod_spox/messages/outgoing/Motd.rb', line 10 def initialize(target='') @target = target end |
Instance Attribute Details
#target ⇒ Object (readonly)
server to send request to
6 7 8 |
# File 'lib/mod_spox/messages/outgoing/Motd.rb', line 6 def target @target end |