Module: ScientificNameClean::Genus2
- Defined in:
- lib/biodiversity/parser/scientific_name_clean.rb
Instance Method Summary collapse
Instance Method Details
#canonical ⇒ Object
2264 2265 2266 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 2264 def canonical a.value end |
#details ⇒ Object
2268 2269 2270 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 2268 def details {:genus => {:epitheton => a.value}} end |
#pos ⇒ Object
2260 2261 2262 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 2260 def pos {a.interval.begin => ['genus', a.interval.end]} end |
#value ⇒ Object
2256 2257 2258 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 2256 def value a.value end |