Module: ScientificNameClean::SpeciesWordHybrid3
- Defined in:
- lib/biodiversity/parser/scientific_name_clean.rb
Instance Method Summary collapse
Instance Method Details
#canonical ⇒ Object
6715 6716 6717 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 6715 def canonical b.value end |
#details ⇒ Object
6727 6728 6729 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 6727 def details {:species => {:string => b.value}} end |
#hybrid ⇒ Object
6719 6720 6721 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 6719 def hybrid true end |
#pos ⇒ Object
6723 6724 6725 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 6723 def pos {b.interval.begin => ['species', b.interval.end]} end |
#value ⇒ Object
6711 6712 6713 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 6711 def value "× " + b.value end |