Module: ScientificNameClean::Genus2
- Defined in:
- lib/biodiversity/parser/scientific_name_clean.rb
Instance Method Summary collapse
Instance Method Details
#canonical ⇒ Object
3140 3141 3142 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 3140 def canonical a.value end |
#details ⇒ Object
3144 3145 3146 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 3144 def details {:genus => {:string => a.value}} end |
#pos ⇒ Object
3136 3137 3138 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 3136 def pos {a.interval.begin => ['genus', a.interval.end]} end |
#value ⇒ Object
3132 3133 3134 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 3132 def value a.value end |