Module: ScientificNameClean::Genus2
- Defined in:
- lib/biodiversity/parser/scientific_name_clean.rb
Instance Method Summary collapse
Instance Method Details
#canonical ⇒ Object
3334 3335 3336 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 3334 def canonical a.value end |
#details ⇒ Object
3338 3339 3340 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 3338 def details {:genus => {:string => a.value}} end |
#pos ⇒ Object
3330 3331 3332 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 3330 def pos {a.interval.begin => ["genus", a.interval.end]} end |
#value ⇒ Object
3326 3327 3328 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 3326 def value a.value end |