Method: Forgejo::TagProtection#==
- Defined in:
- lib/forgejo/models/tag_protection.rb
#==(o) ⇒ Object
Checks equality by comparing each attribute.
133 134 135 136 137 138 139 140 141 142 |
# File 'lib/forgejo/models/tag_protection.rb', line 133 def ==(o) return true if self.equal?(o) self.class == o.class && created_at == o.created_at && id == o.id && name_pattern == o.name_pattern && updated_at == o.updated_at && whitelist_teams == o.whitelist_teams && whitelist_usernames == o.whitelist_usernames end |