Class: ModSpox::Messages::Outgoing::Part
- Inherits:
-
Object
- Object
- ModSpox::Messages::Outgoing::Part
- Defined in:
- lib/mod_spox/messages/outgoing/Part.rb
Instance Attribute Summary collapse
-
#channel ⇒ Object
readonly
channel to part.
-
#reason ⇒ Object
readonly
reason for part.
Instance Method Summary collapse
-
#initialize(channel, reason = '') ⇒ Part
constructor
- channel
- channel to part reason
-
reason for part Part from channel.
Constructor Details
#initialize(channel, reason = '') ⇒ Part
- channel
-
channel to part
- reason
-
reason for part
Part from channel. This command only allows single parts.
12 13 14 15 |
# File 'lib/mod_spox/messages/outgoing/Part.rb', line 12 def initialize(channel, reason='') @channel = channel @reason = reason end |
Instance Attribute Details
#channel ⇒ Object (readonly)
channel to part
6 7 8 |
# File 'lib/mod_spox/messages/outgoing/Part.rb', line 6 def channel @channel end |
#reason ⇒ Object (readonly)
reason for part
8 9 10 |
# File 'lib/mod_spox/messages/outgoing/Part.rb', line 8 def reason @reason end |