class DB::MySQL::Adapter

Attributes

connection_string[R]

Public Class Methods

new(connection_string = LOCAL) click to toggle source
# File lib/db/mysql/adapter.rb, line 30
def initialize(connection_string = LOCAL)
        @connection_string = connection_string
end

Public Instance Methods

call() click to toggle source
# File lib/db/mysql/adapter.rb, line 36
def call
        Connection.new(self.connection_string)
end