Class: NomenclaturalRank::Iczn

Inherits:
NomenclaturalRank show all
Defined in:
app/models/nomenclatural_rank/iczn.rb

Defined Under Namespace

Classes: FamilyGroup, GenusGroup, HigherClassificationGroup, SpeciesGroup

Class Method Summary collapse

Methods inherited from NomenclaturalRank

abbreviation, bottom_rank, nomenclatural_code, nomenclatural_code_class, parent_rank, rank_name, top_rank, typical_use, valid_parents

Class Method Details

.group_base(rank_string) ⇒ Object



3
4
5
6
# File 'app/models/nomenclatural_rank/iczn.rb', line 3

def self.group_base(rank_string)
  rank_string.match( /(NomenclaturalRank::Iczn::.+Group::).+/)
  $1
end