SpeciesFileGroup/taxonworks

View on GitHub
app/models/taxon_name_classification/latinized/part_of_speech/noun_in_genitive_case.rb

Summary

Maintainability
A
0 mins
Test Coverage
class TaxonNameClassification::Latinized::PartOfSpeech::NounInGenitiveCase < TaxonNameClassification::Latinized::PartOfSpeech

  NOMEN_URI='http://purl.obolibrary.org/obo/NOMEN_0000052'.freeze

  def self.disjoint_taxon_name_classes
    self.parent.disjoint_taxon_name_classes +
        self.collect_descendants_and_itself_to_s(TaxonNameClassification::Latinized::PartOfSpeech::NounInApposition,
                                                 TaxonNameClassification::Latinized::PartOfSpeech::Adjective,
                                                 TaxonNameClassification::Latinized::PartOfSpeech::Participle)
  end

  def self.assignable
    true
  end


end