Module: ScientificNameClean::SpeciesWordHybrid3
- Defined in:
- lib/biodiversity/parser/scientific_name_clean.rb
Instance Method Summary collapse
Instance Method Details
#canonical ⇒ Object
6528 6529 6530 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 6528 def canonical b.value end |
#details ⇒ Object
6540 6541 6542 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 6540 def details {:species => {:string => b.value}} end |
#hybrid ⇒ Object
6532 6533 6534 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 6532 def hybrid true end |
#pos ⇒ Object
6536 6537 6538 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 6536 def pos {b.interval.begin => ["species", b.interval.end]} end |
#value ⇒ Object
6524 6525 6526 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 6524 def value "× " + b.value end |