Class: NomenclaturalRank::Icn::GenusGroup::Section

Inherits:
NomenclaturalRank::Icn::GenusGroup show all
Defined in:
app/models/nomenclatural_rank/icn/genus_group/section.rb

Class Method Summary collapse

Methods inherited from NomenclaturalRank::Icn::GenusGroup

#parent_rank, validate_name_format

Methods inherited from NomenclaturalRank

bottom_rank, nomenclatural_code, nomenclatural_code_class, rank_name, top_rank, typical_use

Class Method Details

.abbreviationObject



11
12
13
# File 'app/models/nomenclatural_rank/icn/genus_group/section.rb', line 11

def self.abbreviation
  "sect."
end

.parent_rankObject



3
4
5
# File 'app/models/nomenclatural_rank/icn/genus_group/section.rb', line 3

def self.parent_rank
  NomenclaturalRank::Icn::GenusGroup::Subgenus
end

.valid_parentsObject



7
8
9
# File 'app/models/nomenclatural_rank/icn/genus_group/section.rb', line 7

def self.valid_parents
  [NomenclaturalRank::Icn::GenusGroup::Genus.to_s] + [NomenclaturalRank::Icn::GenusGroup::Subgenus.to_s]
end