Class: NomenclaturalRank::Icn::SpeciesAndInfraspeciesGroup::Subspecies

Inherits:
NomenclaturalRank::Icn::SpeciesAndInfraspeciesGroup show all
Defined in:
app/models/nomenclatural_rank/icn/species_and_infraspecies_group/subspecies.rb

Constant Summary

Constants inherited from NomenclaturalRank::Icn

KINGDOM

Class Method Summary collapse

Methods inherited from NomenclaturalRank::Icn::SpeciesAndInfraspeciesGroup

validate_name_format

Methods inherited from NomenclaturalRank::Icn

group_base

Methods inherited from NomenclaturalRank

bottom_rank, collect_descendants_to_s, collect_to_s, nomenclatural_code, nomenclatural_code_class, ordered_ranks, parent, rank_name, top_rank, typical_use, valid_name_ending

Class Method Details

.abbreviationObject



11
12
13
# File 'app/models/nomenclatural_rank/icn/species_and_infraspecies_group/subspecies.rb', line 11

def self.abbreviation
  'subsp.'
end

.parent_rankObject



3
4
5
# File 'app/models/nomenclatural_rank/icn/species_and_infraspecies_group/subspecies.rb', line 3

def self.parent_rank
  NomenclaturalRank::Icn::SpeciesAndInfraspeciesGroup::Species
end

.valid_parentsObject



7
8
9
# File 'app/models/nomenclatural_rank/icn/species_and_infraspecies_group/subspecies.rb', line 7

def self.valid_parents
  [NomenclaturalRank::Icn::SpeciesAndInfraspeciesGroup::Species.to_s]
end