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