Method: Valkyrie::Persistence::OptimisticLockToken#==

Defined in:
lib/valkyrie/persistence/optimistic_lock_token.rb

#==(other) ⇒ Object



20
21
22
23
24
# File 'lib/valkyrie/persistence/optimistic_lock_token.rb', line 20

def ==(other)
  return false unless other.is_a?(self.class)
  return false unless adapter_id == other.adapter_id
  token == other.token
end