Class: ModSpox::Messages::Incoming::MyInfo
- Defined in:
- lib/mod_spox/messages/incoming/MyInfo.rb
Instance Attribute Summary collapse
-
#channel_modes ⇒ Object
readonly
channel modes supported by server.
-
#servername ⇒ Object
readonly
name of server connected to.
-
#user_modes ⇒ Object
readonly
user modes supported by server.
-
#version ⇒ Object
readonly
version of server connected to.
Attributes inherited from Message
Instance Method Summary collapse
-
#initialize(raw, server, version, umodes, cmodes) ⇒ MyInfo
constructor
A new instance of MyInfo.
Constructor Details
#initialize(raw, server, version, umodes, cmodes) ⇒ MyInfo
Returns a new instance of MyInfo.
14 15 16 17 18 19 20 |
# File 'lib/mod_spox/messages/incoming/MyInfo.rb', line 14 def initialize(raw, server, version, umodes, cmodes) super(raw) @servername = server @version = version @user_modes = umodes @channel_modes = cmodes end |
Instance Attribute Details
#channel_modes ⇒ Object (readonly)
channel modes supported by server
13 14 15 |
# File 'lib/mod_spox/messages/incoming/MyInfo.rb', line 13 def channel_modes @channel_modes end |
#servername ⇒ Object (readonly)
name of server connected to
7 8 9 |
# File 'lib/mod_spox/messages/incoming/MyInfo.rb', line 7 def servername @servername end |
#user_modes ⇒ Object (readonly)
user modes supported by server
11 12 13 |
# File 'lib/mod_spox/messages/incoming/MyInfo.rb', line 11 def user_modes @user_modes end |
#version ⇒ Object (readonly)
version of server connected to
9 10 11 |
# File 'lib/mod_spox/messages/incoming/MyInfo.rb', line 9 def version @version end |