class Hashema::Comparison

Public Instance Methods

match?() click to toggle source
# File lib/hashema/schema.rb, line 20
def match?
  mismatches.empty?
end
mismatches() click to toggle source
# File lib/hashema/schema.rb, line 24
def mismatches
  @mismatches ||= find_mismatches
end

Private Instance Methods

find_mismatches() click to toggle source
# File lib/hashema/schema.rb, line 30
def find_mismatches
  raise NotImplementedError.new(
    "#{self.class.name} must implement find_mismatches"
  )
end