Module: ScientificNameClean::SpeciesWordHybrid3
- Defined in:
- lib/biodiversity/parser/scientific_name_clean.rb
Instance Method Summary collapse
Instance Method Details
#canonical ⇒ Object
7513 7514 7515 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 7513 def canonical b.value end |
#details ⇒ Object
7525 7526 7527 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 7525 def details {:species => {:string => b.value}} end |
#hybrid ⇒ Object
7517 7518 7519 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 7517 def hybrid true end |
#pos ⇒ Object
7521 7522 7523 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 7521 def pos {b.interval.begin => ["species", b.interval.end]} end |
#value ⇒ Object
7509 7510 7511 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 7509 def value "× " + b.value end |