Class: Irc::Channel::Mode

Inherits:
Object show all
Defined in:
/home/apoc/projects/ruby/rbot/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

- (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