class RecordDiff::Results::UnchangedResult

If the ID can be matched and the records haven't changed.

Public Class Methods

new(id:, after:, before:, after_compare:, before_compare:) click to toggle source
# File lib/record_diff/results/unchanged_result.rb, line 7
def initialize(id:, after:, before:, after_compare:, before_compare:)
  @id = id
  @before_original = before
  @before_compare = before_compare
  @after_original = after
  @after_compare = after_compare
end

Public Instance Methods

unchanged?() click to toggle source
# File lib/record_diff/results/unchanged_result.rb, line 15
def unchanged?
  true
end