Module: ScientificNameClean::SpeciesWordHybrid5
- Defined in:
- lib/biodiversity/parser/scientific_name_clean.rb
Instance Method Summary collapse
Instance Method Details
#canonical ⇒ Object
6564 6565 6566 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 6564 def canonical b.value end |
#details ⇒ Object
6576 6577 6578 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 6576 def details {:species => {:string => b.value}} end |
#hybrid ⇒ Object
6568 6569 6570 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 6568 def hybrid true end |
#pos ⇒ Object
6572 6573 6574 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 6572 def pos {b.interval.begin => ["species", b.interval.end]} end |
#value ⇒ Object
6560 6561 6562 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 6560 def value "× " + b.value end |