Module: ScientificNameClean::SpeciesWordHybrid3
- Defined in:
- lib/biodiversity/parser/scientific_name_clean.rb
Instance Method Summary collapse
Instance Method Details
#canonical ⇒ Object
6728 6729 6730 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 6728 def canonical b.value end |
#details ⇒ Object
6740 6741 6742 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 6740 def details {:species => {:string => b.value}} end |
#hybrid ⇒ Object
6732 6733 6734 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 6732 def hybrid true end |
#pos ⇒ Object
6736 6737 6738 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 6736 def pos {b.interval.begin => ["species", b.interval.end]} end |
#value ⇒ Object
6724 6725 6726 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 6724 def value "× " + b.value end |