class Irc::Channel::ModeTypeB
Channel modes of type B need an argument
Example: k (key)
Public Class Methods
new(ch)
click to toggle source
Calls superclass method
Irc::Channel::Mode.new
# File lib/rbot/irc.rb, line 1177 def initialize(ch) super @arg = nil end
Public Instance Methods
reset(val)
click to toggle source
# File lib/rbot/irc.rb, line 1191 def reset(val) @arg = nil if @arg == val end
set(val)
click to toggle source
# File lib/rbot/irc.rb, line 1187 def set(val) @arg = val end
status()
click to toggle source
# File lib/rbot/irc.rb, line 1182 def status @arg end
Also aliased as: value