Exception: MongoDbUtils::Tools::ToolsException

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/mongo-db-utils/tools/commands.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(cmd, output) ⇒ ToolsException

Returns a new instance of ToolsException.



9
10
11
12
# File 'lib/mongo-db-utils/tools/commands.rb', line 9

def initialize(cmd, output)
  @cmd = cmd
  @output =output
end

Instance Attribute Details

#cmdObject (readonly)

Returns the value of attribute cmd.



8
9
10
# File 'lib/mongo-db-utils/tools/commands.rb', line 8

def cmd
  @cmd
end