Class: Similatron::ComparisonEngine::Open3Result

Inherits:
Object
  • Object
show all
Defined in:
lib/similatron/comparison_engine.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(out, err, status) ⇒ Open3Result

Returns a new instance of Open3Result.



48
49
50
51
52
# File 'lib/similatron/comparison_engine.rb', line 48

def initialize(out, err, status)
  @out = out
  @err = err
  @status = status.exitstatus
end

Instance Attribute Details

#errObject (readonly)

Returns the value of attribute err.



46
47
48
# File 'lib/similatron/comparison_engine.rb', line 46

def err
  @err
end

#outObject (readonly)

Returns the value of attribute out.



46
47
48
# File 'lib/similatron/comparison_engine.rb', line 46

def out
  @out
end

#statusObject (readonly)

Returns the value of attribute status.



46
47
48
# File 'lib/similatron/comparison_engine.rb', line 46

def status
  @status
end