Module: ScientificNameClean::Genus2
- Defined in:
- lib/biodiversity/parser/scientific_name_clean.rb
Instance Method Summary collapse
Instance Method Details
#canonical ⇒ Object
3348 3349 3350 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 3348 def canonical a.value end |
#details ⇒ Object
3352 3353 3354 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 3352 def details {:genus => {:string => a.value}} end |
#pos ⇒ Object
3344 3345 3346 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 3344 def pos {a.interval.begin => ["genus", a.interval.end]} end |
#value ⇒ Object
3340 3341 3342 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 3340 def value a.value end |