Dumpable definition of #any? and #all? methods for Channel#mode
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Tue, 15 Jul 2008 22:32:46 +0000 (00:32 +0200)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Tue, 15 Jul 2008 22:32:46 +0000 (00:32 +0200)
commit8f8205310518e7b0626d657ba9667f7bfc745371
tree8d7d9e8869b15da3757fa568886a7f5fe8cb62da
parent63a0599d92b453c025ce3e0ea133b7f6c1af6b7a
Dumpable definition of #any? and #all? methods for Channel#mode

Commit 847a977b228b35f5ab281a31dd3724a4db887dff "#any? and #all? methods
for Channel#mode to check if modes are set" turned Channel into a
non-marshallable object because of singleton methods.

Revert the commit and define an ad-hoc ModeHash class with the any? and
all? methods, to make Channel#mode of that class.
lib/rbot/irc.rb