Method: LexicalUUID#==

Defined in:
lib/lexical_uuid.rb

#==(other) ⇒ Object



68
69
70
71
72
# File 'lib/lexical_uuid.rb', line 68

def ==(other)
  other.is_a?(LexicalUUID) &&
    timestamp == other.timestamp &&
      worker_id == other.worker_id
end