Sha256: bfca1b72b6e2a3bd14e784a64e3d31c5223fa8a80e1b0c61bf4f53112431ff7f

Contents?: true

Size: 320 Bytes

Versions: 1

Compression:

Stored size: 320 Bytes

Contents

module SqliteExt
  module InitInjection
    def initialize(file, *other_init_args)
      if block_given?
        super file, *other_init_args do |db|
          SqliteExt.enhance_db_session self
          yield db
        end
      else
        super
        SqliteExt.enhance_db_session self
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sqlite_ext-0.2.2 lib/sqlite_ext/init_injection.rb