module Lingo::Database::HashStore

Public Instance Methods

close() click to toggle source

Never close, because we can't restore.

# File lib/lingo/database/hash_store.rb, line 34
def close
  self
end

Private Instance Methods

_clear() click to toggle source
# File lib/lingo/database/hash_store.rb, line 50
def _clear
  @db.clear if @db
end
_closed?() click to toggle source

Never closed.

# File lib/lingo/database/hash_store.rb, line 59
def _closed?
  false
end
_each() { |dup, val| ... } click to toggle source

Dup key, because we're reusing everything.

# File lib/lingo/database/hash_store.rb, line 64
def _each
 @db.each { |key, val| yield key.dup, val }
end
_open() click to toggle source
# File lib/lingo/database/hash_store.rb, line 54
def _open
  {}
end
uptodate!() click to toggle source

Nothing to do.

# File lib/lingo/database/hash_store.rb, line 46
def uptodate!
  nil
end
uptodate?() click to toggle source

Never up-to-date.

# File lib/lingo/database/hash_store.rb, line 41
def uptodate?
  false
end