Class: Yapo::Helpers::CustomErrors::ErrorResult

Inherits:
Object
  • Object
show all
Defined in:
lib/yapo/helpers/custom_errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(exit_status, out, err) ⇒ ErrorResult

Returns a new instance of ErrorResult.



88
89
90
91
92
# File 'lib/yapo/helpers/custom_errors.rb', line 88

def initialize(exit_status, out, err)
  @exit_status = exit_status
  @out         = out
  @err         = err
end

Instance Attribute Details

#errObject (readonly)

Returns the value of attribute err.



86
87
88
# File 'lib/yapo/helpers/custom_errors.rb', line 86

def err
  @err
end

#exit_statusObject (readonly)

Returns the value of attribute exit_status.



86
87
88
# File 'lib/yapo/helpers/custom_errors.rb', line 86

def exit_status
  @exit_status
end

#outObject (readonly)

Returns the value of attribute out.



86
87
88
# File 'lib/yapo/helpers/custom_errors.rb', line 86

def out
  @out
end