Hash
Hash of modes. Subclass of Hash that defines any? and all? to check if boolean modes (Type D) are set
# File lib/rbot/irc.rb, line 1143 def all?(*ar) !ar.find { |m| s = m.to_sym ; !(self[s] && self[s].set?) } end
# File lib/rbot/irc.rb, line 1140 def any?(*ar) !!ar.find { |m| s = m.to_sym ; self[s] && self[s].set? } end
[Validate]
Generated with the Darkfish Rdoc Generator 2.