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