Module: Jdbc::H2

Defined in:
lib/jdbc/h2.rb,
lib/jdbc/h2/version.rb

Constant Summary collapse

DRIVER_VERSION =
'2.0.204'
VERSION =
DRIVER_VERSION

Class Method Summary collapse

Class Method Details

.driver_jarObject



7
8
9
# File 'lib/jdbc/h2.rb', line 7

def self.driver_jar
  "h2-#{DRIVER_VERSION}.jar"
end

.driver_nameObject



15
16
17
# File 'lib/jdbc/h2.rb', line 15

def self.driver_name
  'org.h2.Driver'
end

.load_driver(method = :load) ⇒ Object



11
12
13
# File 'lib/jdbc/h2.rb', line 11

def self.load_driver(method = :load)
  send method, driver_jar
end