Module: ScientificNameClean::Genus2
- Defined in:
- lib/biodiversity/parser/scientific_name_clean.rb
Instance Method Summary collapse
Instance Method Details
#canonical ⇒ Object
3152 3153 3154 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 3152 def canonical a.value end |
#details ⇒ Object
3156 3157 3158 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 3156 def details {:genus => {:string => a.value}} end |
#pos ⇒ Object
3148 3149 3150 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 3148 def pos {a.interval.begin => ["genus", a.interval.end]} end |
#value ⇒ Object
3144 3145 3146 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 3144 def value a.value end |