Exception: FPM::Cookery::Shellout::CommandFailed

Inherits:
StandardError
  • Object
show all
Defined in:
lib/fpm/cookery/shellout.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, output) ⇒ CommandFailed

Returns a new instance of CommandFailed.



10
11
12
13
# File 'lib/fpm/cookery/shellout.rb', line 10

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

Instance Attribute Details

#outputObject (readonly)

Returns the value of attribute output.



8
9
10
# File 'lib/fpm/cookery/shellout.rb', line 8

def output
  @output
end