Module: ScientificNameClean::SpeciesWordHybrid3
- Defined in:
- lib/biodiversity/parser/scientific_name_clean.rb
Instance Method Summary collapse
Instance Method Details
#canonical ⇒ Object
7570 7571 7572 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 7570 def canonical b.value end |
#details ⇒ Object
7582 7583 7584 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 7582 def details {:species => {:string => b.value}} end |
#hybrid ⇒ Object
7574 7575 7576 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 7574 def hybrid true end |
#pos ⇒ Object
7578 7579 7580 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 7578 def pos {b.interval.begin => ["species", b.interval.end]} end |
#value ⇒ Object
7566 7567 7568 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 7566 def value "× " + b.value end |