Sha256: 7ad490072dba286dbadd248f685372008bae1da35f38044eabc14ef311be2b1f
Contents?: true
Size: 381 Bytes
Versions: 3
Compression:
Stored size: 381 Bytes
Contents
class Connexion #attr_accessor :username, password, database, host def initialize(config_file, db) config = YAML::load_file(config_file) puts "testdd" #@username = database["#{db}"]['user'] @password = database["#{db}"]['password'] #@database = database["#{db}"]['dbname'] #@host = database["#{db}"]['host'] puts @password end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
capistrano-db-sync-0.0.15 | lib/capistrano/tasks/connexion.rb |
capistrano-db-sync-0.0.14 | lib/capistrano/tasks/connexion.rb |
capistrano-db-sync-0.0.13 | lib/capistrano/tasks/connexion.rb |