class RailsArchiver::Archiver::IDHash

Hash which determines equality solely based on the id key.

Public Instance Methods

==(other) click to toggle source
# File lib/rails-archiver/archiver.rb, line 13
def ==(other)
  self[:id] == other[:id]
end