Module: ScientificNameClean::SpeciesWordHybrid1
- Defined in:
- lib/biodiversity/parser/scientific_name_clean.rb
Instance Method Summary collapse
Instance Method Details
#canonical ⇒ Object
6492 6493 6494 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 6492 def canonical b.value end |
#details ⇒ Object
6504 6505 6506 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 6504 def details {:species => {:string => b.value}} end |
#hybrid ⇒ Object
6496 6497 6498 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 6496 def hybrid true end |
#pos ⇒ Object
6500 6501 6502 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 6500 def pos {b.interval.begin => ["species", b.interval.end]} end |
#value ⇒ Object
6488 6489 6490 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 6488 def value a.value + " " + b.value end |