Module: ScientificNameClean::SpeciesWordHybrid3
- Defined in:
- lib/biodiversity/parser/scientific_name_clean.rb
Instance Method Summary collapse
Instance Method Details
#canonical ⇒ Object
7126 7127 7128 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 7126 def canonical b.value end |
#details ⇒ Object
7138 7139 7140 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 7138 def details {:species => {:string => b.value}} end |
#hybrid ⇒ Object
7130 7131 7132 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 7130 def hybrid true end |
#pos ⇒ Object
7134 7135 7136 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 7134 def pos {b.interval.begin => ["species", b.interval.end]} end |
#value ⇒ Object
7122 7123 7124 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 7122 def value "× " + b.value end |