]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/commit
plugins.rb: use fast delegation hash
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Sun, 2 Sep 2007 09:30:13 +0000 (09:30 +0000)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Sun, 2 Sep 2007 09:30:13 +0000 (09:30 +0000)
commitb835c480b45f41dc59756bbaeed7c92aa14de9f9
tree24e448251c43e009fecbb058404f4bdbc8beb677
parent1ef981bb3b47c396b5b0c99698dcf7063c83d4ff
plugins.rb: use fast delegation hash

We delegate common hooks through the fast-delegation hash, and revert to
brute-force querying for everything else. Beware that this may breaks plugins
which add/remove delegatable methods at runtime, but no such plugin is
currently used (AFAIK).
lib/rbot/plugins.rb