Exception: CIHelper::Commands::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/ci_helper/commands.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, output: nil) ⇒ Error

Returns a new instance of Error.



8
9
10
11
# File 'lib/ci_helper/commands.rb', line 8

def initialize(message, output: nil)
  super(message)
  @output = output
end

Instance Attribute Details

#outputObject (readonly)

Returns the value of attribute output.



6
7
8
# File 'lib/ci_helper/commands.rb', line 6

def output
  @output
end