Module: ScientificNameClean::SpeciesWordHybrid1
- Defined in:
- lib/biodiversity/parser/scientific_name_clean.rb
Instance Method Summary collapse
Instance Method Details
#canonical ⇒ Object
7477 7478 7479 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 7477 def canonical b.value end |
#details ⇒ Object
7489 7490 7491 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 7489 def details {:species => {:string => b.value}} end |
#hybrid ⇒ Object
7481 7482 7483 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 7481 def hybrid true end |
#pos ⇒ Object
7485 7486 7487 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 7485 def pos {b.interval.begin => ["species", b.interval.end]} end |
#value ⇒ Object
7473 7474 7475 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 7473 def value a.value + " " + b.value end |