Class: Specify::Model::Rank

Inherits:
Object
  • Object
show all
Includes:
Updateable
Defined in:
lib/specify/models/taxonomy/rank.rb

Overview

Rank is the rank class for the Specify::Model::Taxonomy tree. A Rank holds information about a formal Linnean classification rank in a taxonomic tree.

A Rank has a parent (another instance of Rank) unless it is the root rank of the tree and can have one child (another instance of Rank).

Instance Method Summary collapse

Methods included from Updateable

#before_update

Instance Method Details

#nameObject

Returns a String with the name of the formal Linnean classification rank.



26
27
28
# File 'lib/specify/models/taxonomy/rank.rb', line 26

def name
  self[:Name]
end