Method: Phrase::TranslationVersionWithUser#hash

Defined in:
lib/phrase/models/translation_version_with_user.rb

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



155
156
157
# File 'lib/phrase/models/translation_version_with_user.rb', line 155

def hash
  [id, content, plural_suffix, key, locale, created_at, updated_at, changed_at, user].hash
end