Module: Ghaki::Account::DB_Driver
Instance Attribute Summary collapse
-
#db_driver ⇒ Object
Returns the value of attribute db_driver.
Instance Method Summary collapse
-
#valid_db_driver? ⇒ Boolean
———————————————————————.
Methods included from SynOpts
Instance Attribute Details
#db_driver ⇒ Object
Returns the value of attribute db_driver.
11 12 13 |
# File 'lib/ghaki/account/db_driver.rb', line 11 def db_driver @db_driver end |
Instance Method Details
#valid_db_driver? ⇒ Boolean
14 15 16 17 18 |
# File 'lib/ghaki/account/db_driver.rb', line 14 def valid_db_driver? return false if @db_driver.nil? return false if @db_driver.empty? return true end |