class Bio::Ucsc::FelCat4::DBConnection

Public Class Methods

connect() click to toggle source
# File lib/bio-ucsc/felcat4.rb, line 52
def self.connect
  establish_connection({ :adapter =>  @@db_adapter,
                         :host =>     @@db_host,
                         :database => @@db_name,
                         :username => @@db_username,
                         :password => @@db_password, })
end
default() click to toggle source
# File lib/bio-ucsc/felcat4.rb, line 45
def self.default
  @@db_adapter  = 'mysql2'
  @@db_host     = 'genome-mysql.cse.ucsc.edu'
  @@db_username = 'genome'
  @@db_password = ''
end