Module: Ghaki::Account::DB_Connect
Instance Attribute Summary collapse
-
#db_connect ⇒ Object
———————————————————————.
Instance Method Summary collapse
-
#valid_db_connect? ⇒ Boolean
———————————————————————.
Methods included from SynOpts
Instance Attribute Details
#db_connect ⇒ Object
15 16 17 |
# File 'lib/ghaki/account/db_connect.rb', line 15 def db_connect @db_connect ||= self.make_db_connect end |
Instance Method Details
#valid_db_connect? ⇒ Boolean
20 21 22 23 24 |
# File 'lib/ghaki/account/db_connect.rb', line 20 def valid_db_connect? return false if @db_connect.nil? return false if @db_connect.empty? return true end |