Method: MoonlogsRuby::Tag#hash
- Defined in:
- lib/moonlogs-ruby/models/tag.rb
#hash ⇒ Integer
Calculates hash code according to all attributes.
106 107 108 |
# File 'lib/moonlogs-ruby/models/tag.rb', line 106 def hash [id, name].hash end |