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 1184 def initialize(ch) super @arg = nil end
Public Instance Methods
reset(val)
click to toggle source
# File lib/rbot/irc.rb, line 1198 def reset(val) @arg = nil if @arg == val end
set(val)
click to toggle source
# File lib/rbot/irc.rb, line 1194 def set(val) @arg = val end
status()
click to toggle source
# File lib/rbot/irc.rb, line 1189 def status @arg end
Also aliased as: value