Method: Forgejo::TagProtection#hash
- Defined in:
- lib/forgejo/models/tag_protection.rb
#hash ⇒ Integer
Calculates hash code according to all attributes.
152 153 154 |
# File 'lib/forgejo/models/tag_protection.rb', line 152 def hash [created_at, id, name_pattern, updated_at, whitelist_teams, whitelist_usernames].hash end |