Module: Shared::Citable

Extended by:
ActiveSupport::Concern
Included in:
BiologicalAssociation, BiologicalAssociationsGraph, CollectingEvent, CollectionObject, Otu, TaxonDetermination, TaxonName, TaxonNameClassification, TaxonNameRelationship, TypeMaterial
Defined in:
app/models/concerns/shared/citable.rb

Instance Method Summary collapse

Instance Method Details

#cited?Boolean

Returns:

  • (Boolean)


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

def cited?
  self.citations.count > 0
end