Module: Dbmanager::Adapters::Mysql::Connectable
Instance Method Summary collapse
Instance Method Details
#params(environment) ⇒ Object
7 8 9 10 11 12 13 14 |
# File 'lib/dbmanager/adapters/mysql.rb', line 7 def params(environment) [ "-u#{environment.username}", environment.flag(:password, :p), environment.flag(:host, :h), environment.flag(:port, :P), environment.database ].compact.join(' ') end |