class Irc::Channel::ModeTypeC
Channel
modes of type C need an argument when set, but not when they get reset
Example: l (limit)
Public Class Methods
new(ch)
click to toggle source
Calls superclass method
Irc::Channel::Mode::new
# File lib/rbot/irc.rb, line 1230 def initialize(ch) super @arg = nil end
Public Instance Methods
reset()
click to toggle source
# File lib/rbot/irc.rb, line 1244 def reset @arg = nil end
set(val)
click to toggle source
# File lib/rbot/irc.rb, line 1240 def set(val) @arg = val end
status()
click to toggle source
# File lib/rbot/irc.rb, line 1235 def status @arg end
Also aliased as: value