Class: NomenclaturalRank::Icn::SpeciesGroup::Form

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

Class Method Summary (collapse)

Methods inherited from NomenclaturalRank::Icn::SpeciesGroup

validate_name_format

Methods inherited from NomenclaturalRank

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

Class Method Details

+ (Object) abbreviation



12
13
14
# File 'app/models/nomenclatural_rank/icn/species_and_infraspecies_group/form.rb', line 12

def self.abbreviation
  "f."
end

+ (Object) parent_rank



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

def self.parent_rank
  NomenclaturalRank::Icn::SpeciesGroup::Subvariety
end

+ (Object) valid_parents



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

def self.valid_parents
  [NomenclaturalRank::Icn::SpeciesGroup::Species.to_s] + [NomenclaturalRank::Icn::SpeciesGroup::Subspecies.to_s] + [NomenclaturalRank::Icn::SpeciesGroup::Variety.to_s] + [NomenclaturalRank::Icn::SpeciesGroup::Subvariety.to_s]
end