Module: ScientificNameClean::SpeciesWordHybrid5
- Defined in:
- lib/biodiversity/parser/scientific_name_clean.rb
Instance Method Summary collapse
Instance Method Details
#canonical ⇒ Object
6764 6765 6766 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 6764 def canonical b.value end |
#details ⇒ Object
6776 6777 6778 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 6776 def details {:species => {:string => b.value}} end |
#hybrid ⇒ Object
6768 6769 6770 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 6768 def hybrid true end |
#pos ⇒ Object
6772 6773 6774 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 6772 def pos {b.interval.begin => ["species", b.interval.end]} end |
#value ⇒ Object
6760 6761 6762 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 6760 def value "× " + b.value end |