class Relayer::IRC::Channel

Attributes

users[RW]

Public Class Methods

is_channel?(channel) click to toggle source
# File lib/relayer/irc/channel.rb, line 5
def self.is_channel?(channel)
  channel[0] == '#'
end
new(channel) click to toggle source
# File lib/relayer/irc/channel.rb, line 13
def initialize(channel)
  @channel = channel
  @users = []
end

Public Instance Methods

to_s() click to toggle source
# File lib/relayer/irc/channel.rb, line 9
def to_s
  @channel
end