Module: Mongoid::Shell
- Defined in:
- lib/mongoid/shell/mongoid.rb,
lib/mongoid/shell/version.rb,
lib/mongoid/shell/errors/base.rb,
lib/mongoid/shell/commands/base.rb,
lib/mongoid/shell/commands/mongo.rb,
lib/mongoid/shell/properties/host.rb,
lib/mongoid/shell/commands/mongodump.rb,
lib/mongoid/shell/commands/mongostat.rb,
lib/mongoid/shell/properties/primary.rb,
lib/mongoid/shell/properties/database.rb,
lib/mongoid/shell/properties/password.rb,
lib/mongoid/shell/properties/username.rb,
lib/mongoid/shell/commands/mongorestore.rb,
lib/mongoid/shell/errors/missing_session_error.rb,
lib/mongoid/shell/errors/missing_primary_node_error.rb,
lib/mongoid/shell/errors/session_not_connected_error.rb
Defined Under Namespace
Modules: Commands, Errors, Properties
Constant Summary collapse
- VERSION =
'0.3.0'
Class Method Summary collapse
Class Method Details
.mongoid3? ⇒ Boolean
3 4 5 |
# File 'lib/mongoid/shell/mongoid.rb', line 3 def self.mongoid3? ::Mongoid.const_defined? :Observer # deprecated in Mongoid 4.x end |