Module: ScientificNameClean::RankForma0
- Defined in:
- lib/biodiversity/parser/scientific_name_clean.rb
Instance Method Summary collapse
Instance Method Details
#apply(a) ⇒ Object
1860 1861 1862 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 1860 def apply(a) " " + value + " " + a.value end |
#canonical(a) ⇒ Object
1863 1864 1865 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 1863 def canonical(a) " " + a.value end |
#details(a = nil) ⇒ Object
1866 1867 1868 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 1866 def details(a = nil) {:infraspecies => {:epitheton => (a.value rescue nil), :rank => value}} end |
#value ⇒ Object
1857 1858 1859 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 1857 def value "f." end |