Class: Mongoid::Shell::Commands::Mongorestore
- Defined in:
- lib/mongoid/shell/commands/mongorestore.rb
Instance Attribute Summary
Attributes included from Properties::Password
Attributes included from Properties::Username
Attributes included from Properties::Database
Attributes included from Properties::Primary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
arg, #cmd, command_for, inherit_args, inherited, #initialize, option, #to_s, #vargs
Constructor Details
This class inherits a constructor from Mongoid::Shell::Commands::Base
Instance Method Details
#host ⇒ Object
28 29 30 |
# File 'lib/mongoid/shell/commands/mongorestore.rb', line 28 def host @host || primary end |