diff options
author | Tom Gilbert <tom@linuxbrit.co.uk> | 2006-02-09 20:44:50 +0000 |
---|---|---|
committer | Tom Gilbert <tom@linuxbrit.co.uk> | 2006-02-09 20:44:50 +0000 |
commit | 2ed83d89e5fad7d0bed1003fdc60b538a4187162 (patch) | |
tree | 2db511bd954951318ae60306cab4a98718331ae2 /lib/rbot/registry.rb | |
parent | 590379e94b8e4a17414cf6ed6895c35d3123cc2e (diff) |
attempt to resolve #65
Diffstat (limited to 'lib/rbot/registry.rb')
-rw-r--r-- | lib/rbot/registry.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/rbot/registry.rb b/lib/rbot/registry.rb index 6afc7622..6388c91d 100644 --- a/lib/rbot/registry.rb +++ b/lib/rbot/registry.rb @@ -118,6 +118,10 @@ module Irc # debug "initializing registry accessor with name #{@name}" end + def flush + @registry.flush + end + # convert value to string form for storing in the registry # defaults to Marshal.dump(val) but you can override this in your module's # registry object to use any method you like. |