irc: monkeypatch Singleton to make _load and _dump public.
authorSpencer Rinehart <anubis@overthemonkey.com>
Fri, 6 Mar 2009 15:08:06 +0000 (10:08 -0500)
committerSpencer Rinehart <anubis@overthemonkey.com>
Fri, 6 Mar 2009 15:22:21 +0000 (10:22 -0500)
commit0a44338d09e921440fac821b1db8d03e71a10ff0
tree053a7893a887719aa9f2275a581535ec35c9e7cc
parentc3aec9254dd9e48c0fcc7bfd5432d6555b881071
irc: monkeypatch Singleton to make _load and _dump public.

This is to fix a possible bug in newer versions of ruby where _load was
declared private in singletons.  This would lead to errors where Marshal
could not restore the Singleton.  This "bug" was introduced to ruby
in revisions 16659 and 17396.
lib/rbot/irc.rb