Module: ScientificNameClean::SpeciesWordHybrid5
- Defined in:
- lib/biodiversity/parser/scientific_name_clean.rb
Instance Method Summary collapse
Instance Method Details
#canonical ⇒ Object
6751 6752 6753 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 6751 def canonical b.value end |
#details ⇒ Object
6763 6764 6765 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 6763 def details {:species => {:string => b.value}} end |
#hybrid ⇒ Object
6755 6756 6757 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 6755 def hybrid true end |
#pos ⇒ Object
6759 6760 6761 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 6759 def pos {b.interval.begin => ['species', b.interval.end]} end |
#value ⇒ Object
6747 6748 6749 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 6747 def value "× " + b.value end |