Module: Mongoid::Shell::Properties::Database
- Included in:
- Commands::Mongo, Commands::Mongodump, Commands::Mongorestore, Commands::Mongostat
- Defined in:
- lib/mongoid/shell/properties/database.rb
Instance Attribute Summary collapse
-
#db ⇒ Object
current database name.
Instance Attribute Details
#db ⇒ Object
current database name
8 9 10 |
# File 'lib/mongoid/shell/properties/database.rb', line 8 def db @db end |