diff options
-rw-r--r-- | lib/rbot/registry/mem.rb | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/lib/rbot/registry/mem.rb b/lib/rbot/registry/mem.rb index 85d52b15..0664ad39 100644 --- a/lib/rbot/registry/mem.rb +++ b/lib/rbot/registry/mem.rb @@ -13,9 +13,20 @@ class Registry class MemAccessor < AbstractAccessor + def initialize(filename) + super(filename) + @data = {} + end + def registry super - @registry = {} + @registry = @data + end + + def close + end + + def flush end def dbexists? |