class Erudite::Example::Outcome

Information about an expected or actual outcome.

Attributes

output[R]
result[R]

Public Class Methods

new(result, output) click to toggle source
# File lib/erudite/example/outcome.rb, line 10
def initialize(result, output)
  @result = result
  @output = output
end

Public Instance Methods

==(other) click to toggle source
# File lib/erudite/example/outcome.rb, line 15
def ==(other)
  result == other.result &&
    output == other.output
end