Class: NomenclaturalRank::Icn::SpeciesAndInfraspeciesGroup::Form
- Inherits:
-
NomenclaturalRank::Icn::SpeciesAndInfraspeciesGroup
- Object
- NomenclaturalRank
- NomenclaturalRank::Icn
- NomenclaturalRank::Icn::SpeciesAndInfraspeciesGroup
- NomenclaturalRank::Icn::SpeciesAndInfraspeciesGroup::Form
- Defined in:
- app/models/nomenclatural_rank/icn/species_and_infraspecies_group/form.rb
Constant Summary
Constants inherited from NomenclaturalRank::Icn
Class Method Summary collapse
Methods inherited from NomenclaturalRank::Icn::SpeciesAndInfraspeciesGroup
Methods inherited from NomenclaturalRank::Icn
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
.abbreviation ⇒ Object
15 16 17 |
# File 'app/models/nomenclatural_rank/icn/species_and_infraspecies_group/form.rb', line 15 def self.abbreviation 'f.' end |
.parent_rank ⇒ Object
3 4 5 |
# File 'app/models/nomenclatural_rank/icn/species_and_infraspecies_group/form.rb', line 3 def self.parent_rank NomenclaturalRank::Icn::SpeciesAndInfraspeciesGroup::Subvariety end |
.valid_parents ⇒ Object
7 8 9 10 11 12 |
# File 'app/models/nomenclatural_rank/icn/species_and_infraspecies_group/form.rb', line 7 def self.valid_parents [NomenclaturalRank::Icn::SpeciesAndInfraspeciesGroup::Species.to_s] + [NomenclaturalRank::Icn::SpeciesAndInfraspeciesGroup::Subspecies.to_s] + [NomenclaturalRank::Icn::SpeciesAndInfraspeciesGroup::Variety.to_s] + [NomenclaturalRank::Icn::SpeciesAndInfraspeciesGroup::Subvariety.to_s] end |