Method: Phrase::Tag#hash
- Defined in:
- lib/phrase/models/tag.rb
#hash ⇒ Integer
Calculates hash code according to all attributes.
103 104 105 |
# File 'lib/phrase/models/tag.rb', line 103 def hash [name, keys_count, created_at, updated_at].hash end |