module Lingo::Database::LibCDBStore

Private Instance Methods

_open() click to toggle source
# File lib/lingo/database/libcdb_store.rb, line 48
def _open
  LibCDB::CDB.open(@stofile)
end
create() { || ... } click to toggle source
# File lib/lingo/database/libcdb_store.rb, line 39
def create
  LibCDB::CDB.open(@stofile, 'w') { |db|
    @db = db
    yield
  }
ensure
  @db = nil
end