Class: IRCSupport::Message::Join
- Inherits:
-
IRCSupport::Message
- Object
- IRCSupport::Message
- IRCSupport::Message::Join
- Defined in:
- lib/ircsupport/message.rb
Instance Attribute Summary collapse
-
#channel ⇒ String
The name of the channel being joined.
-
#joiner ⇒ String
The user who is joining.
Attributes inherited from IRCSupport::Message
Instance Method Summary collapse
-
#initialize(args) ⇒ Join
constructor
A new instance of Join.
Methods inherited from IRCSupport::Message
Constructor Details
#initialize(args) ⇒ Join
Returns a new instance of Join.
315 316 317 318 319 |
# File 'lib/ircsupport/message.rb', line 315 def initialize(args) super(args) @joiner = args[:prefix] @channel = args[:args][0] end |
Instance Attribute Details
#channel ⇒ String
Returns The name of the channel being joined.
312 313 314 |
# File 'lib/ircsupport/message.rb', line 312 def channel @channel end |
#joiner ⇒ String
Returns The user who is joining.
309 310 311 |
# File 'lib/ircsupport/message.rb', line 309 def joiner @joiner end |