Sha256: c3e0f0bec277a727fbb9ee1e0956945f9f6b291ad4bc0f51fe2908e768a882f4
Contents?: true
Size: 597 Bytes
Versions: 3
Compression:
Stored size: 597 Bytes
Contents
module Ardb; end class Ardb::Adapter; end class Ardb::Adapter::Base attr_reader :config_settings, :database def initialize @config_settings = Ardb.config.db.to_hash @database = Ardb.config.db.database end def foreign_key_add_sql(*args); raise NotImplementedError; end def foreign_key_drop_sql(*args); raise NotImplementedError; end def create_db(*args); raise NotImplementedError; end def drop_db(*args); raise NotImplementedError; end def drop_tables(*args); raise NotImplementedError; end def ==(other_adapter) self.class == other_adapter.class end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ardb-0.3.0 | lib/ardb/adapter/base.rb |
ardb-0.2.0 | lib/ardb/adapter/base.rb |
ardb-0.1.0 | lib/ardb/adapter/base.rb |