Sha256: 77f82e2f37396b085da371b8b894600a08d2439fd0157086bc6cbc58864c0dcd

Contents?: true

Size: 343 Bytes

Versions: 1

Compression:

Stored size: 343 Bytes

Contents

class Baza::InfoSqlite3
  attr_reader :db

  def initialize(args = {})
    require "sqlite3" unless RUBY_ENGINE == "jruby"

    @db = Baza::Db.new({
      type: :sqlite3,
      path: ":memory:",
      index_append_table_name: true,
      sql_to_error: true,
      debug: false
    }.merge(args))
  end

  def before; end

  def after; end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
baza-0.0.36 spec/info_sqlite3.rb