Class: DBI::DBD::SQLite::Driver

Inherits:
BaseDriver show all
Defined in:
lib/dbd/SQLite.rb

Overview

See DBI::BaseDriver.

Instance Method Summary collapse

Methods inherited from BaseDriver

#data_sources, #default_attributes, #default_user, #disconnect_all

Constructor Details

#initializeDriver

Returns a new instance of Driver.



75
76
77
# File 'lib/dbd/SQLite.rb', line 75

def initialize
    super "0.4.0"
end

Instance Method Details

#connect(dbname, user, auth, attr_hash) ⇒ Object



79
80
81
# File 'lib/dbd/SQLite.rb', line 79

def connect(dbname, user, auth, attr_hash)
    return Database.new(dbname, user, auth, attr_hash)
end