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