Module: DatabaseCleaner::Redis::Base
Instance Method Summary collapse
- #db ⇒ Object (also: #url)
- #db=(desired_db) ⇒ Object
Methods included from Generic::Base
Instance Method Details
#db ⇒ Object Also known as: url
16 17 18 |
# File 'lib/database_cleaner/redis/base.rb', line 16 def db @db ||= :default end |
#db=(desired_db) ⇒ Object
12 13 14 |
# File 'lib/database_cleaner/redis/base.rb', line 12 def db=(desired_db) @db = desired_db end |