Module: ScientificNameClean::Genus2
- Defined in:
- lib/biodiversity/parser/scientific_name_clean.rb
Instance Method Summary collapse
Instance Method Details
#canonical ⇒ Object
3245 3246 3247 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 3245 def canonical a.value end |
#details ⇒ Object
3249 3250 3251 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 3249 def details {:genus => {:string => a.value}} end |
#pos ⇒ Object
3241 3242 3243 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 3241 def pos {a.interval.begin => ['genus', a.interval.end]} end |
#value ⇒ Object
3237 3238 3239 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 3237 def value a.value end |