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