Exception: MongoDbUtils::Tools::ToolsException
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- MongoDbUtils::Tools::ToolsException
- Defined in:
- lib/mongo-db-utils/tools/commands.rb
Instance Attribute Summary collapse
-
#cmd ⇒ Object
readonly
Returns the value of attribute cmd.
Instance Method Summary collapse
-
#initialize(cmd, output, message) ⇒ ToolsException
constructor
A new instance of ToolsException.
Constructor Details
#initialize(cmd, output, message) ⇒ ToolsException
Returns a new instance of ToolsException.
9 10 11 12 13 |
# File 'lib/mongo-db-utils/tools/commands.rb', line 9 def initialize(cmd, output, ) super() @cmd = cmd @output = output end |
Instance Attribute Details
#cmd ⇒ Object (readonly)
Returns the value of attribute cmd.
8 9 10 |
# File 'lib/mongo-db-utils/tools/commands.rb', line 8 def cmd @cmd end |