Method: Phrase::TranslationVersionWithUser#==
- Defined in:
- lib/phrase/models/translation_version_with_user.rb
#==(o) ⇒ Object
Checks equality by comparing each attribute.
133 134 135 136 137 138 139 140 141 142 143 144 145 |
# File 'lib/phrase/models/translation_version_with_user.rb', line 133 def ==(o) return true if self.equal?(o) self.class == o.class && id == o.id && content == o.content && plural_suffix == o.plural_suffix && key == o.key && locale == o.locale && created_at == o.created_at && updated_at == o.updated_at && changed_at == o.changed_at && user == o.user end |