Module: Shared::HasRoles

Extended by:
ActiveSupport::Concern
Included in:
Source, TaxonDetermination
Defined in:
app/models/concerns/shared/has_roles.rb

Instance Method Summary collapse

Instance Method Details

#has_roles?Boolean



8
9
10
# File 'app/models/concerns/shared/has_roles.rb', line 8

def has_roles?
  self.roles.size > 0
end