Method: MiGA::Taxonomy#highest
- Defined in:
- lib/miga/taxonomy.rb
#highest(force_ranks = false) ⇒ Object
Get the most general rank as a two-entry Array (rank and value). If force_ranks is true, it always returns the value for domain (d) even if undefined.
150 151 152 |
# File 'lib/miga/taxonomy.rb', line 150 def highest(force_ranks = false) sorted_ranks(force_ranks).first end |