Class: Irc::Channel::Mode

Inherits:
Object show all
Defined in:
lib/rbot/irc.rb

Overview

Mode on a Channel

Direct Known Subclasses

ModeTypeA, ModeTypeB, ModeTypeC, ModeTypeD

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#channelObject (readonly)

Returns the value of attribute channel.



1130
1131
1132
# File 'lib/rbot/irc.rb', line 1130

def channel
  @channel
end