Class: Irc::Channel::Mode
Overview
Mode on a Channel
Instance Attribute Summary collapse
-
#channel ⇒ Object
readonly
Returns the value of attribute channel.
Instance Method Summary collapse
-
#initialize(ch) ⇒ Mode
constructor
A new instance of Mode.
Constructor Details
#initialize(ch) ⇒ Mode
Returns a new instance of Mode.
1131 1132 1133 |
# File 'lib/rbot/irc.rb', line 1131 def initialize(ch) @channel = ch end |
Instance Attribute Details
#channel ⇒ Object (readonly)
Returns the value of attribute channel.
1130 1131 1132 |
# File 'lib/rbot/irc.rb', line 1130 def channel @channel end |