A ChannelList is an ArrayOf Channels
Create a new ChannelList, optionally filling it with the elements from the Array argument fed to it.
# File lib/rbot/irc.rb, line 1492 def initialize(ar=[]) super(Channel, ar) end
Convenience method: convert the ChannelList to a list of channel names. The indices are preserved
# File lib/rbot/irc.rb, line 1499 def names self.map { |chan| chan.name } end
Generated with the Darkfish Rdoc Generator 2.