class Irc::Bot::Registry::MemAccessor

Public Class Methods

new(filename) click to toggle source
# File lib/rbot/registry/mem.rb, line 16
def initialize(filename)
  super(filename)
  @data = {}
end

Public Instance Methods

close() click to toggle source
# File lib/rbot/registry/mem.rb, line 26
def close
end
dbexists?() click to toggle source
# File lib/rbot/registry/mem.rb, line 32
def dbexists?
  true  # the memory database always exists, this way it won't create any folders on the file system
end
flush() click to toggle source
# File lib/rbot/registry/mem.rb, line 29
def flush
end
registry() click to toggle source
# File lib/rbot/registry/mem.rb, line 21
def registry
  super
  @registry = @data
end