class Dhole::Dhole
Public Class Methods
new(adapter, db, user, pass, host = 'localhost')
click to toggle source
# File lib/dhole.rb, line 16 def initialize(adapter, db, user, pass, host = 'localhost') ActiveRecord::Base.establish_connection( :adapter => adapter, :database => db, :username => user, :password => pass, :host => host) end