class Hashema::Alternatives::Comparison

Private Instance Methods

find_mismatches() click to toggle source
# File lib/hashema/schema.rb, line 192
def find_mismatches
  if expected.none? { |alternative| alternative.compare(actual).match? }
    [Mismatch.new(actual, expected, [])]
  else
    []
  end
end