Method: Kickflow::Role#hash
- Defined in:
- lib/kickflow/models/role.rb
#hash ⇒ Integer
Calculates hash code according to all attributes.
228 229 230 |
# File 'lib/kickflow/models/role.rb', line 228 def hash [id, name, editable, users_count, created_at, updated_at].hash end |