Module: ScientificNameClean::Genus2
- Defined in:
- lib/biodiversity/parser/scientific_name_clean.rb
Instance Method Summary collapse
Instance Method Details
#canonical ⇒ Object
3258 3259 3260 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 3258 def canonical a.value end |
#details ⇒ Object
3262 3263 3264 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 3262 def details {:genus => {:string => a.value}} end |
#pos ⇒ Object
3254 3255 3256 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 3254 def pos {a.interval.begin => ["genus", a.interval.end]} end |
#value ⇒ Object
3250 3251 3252 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 3250 def value a.value end |