Module: ScientificNameClean::SpeciesWordHybrid1
- Defined in:
- lib/biodiversity/parser/scientific_name_clean.rb
Instance Method Summary collapse
Instance Method Details
#canonical ⇒ Object
6692 6693 6694 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 6692 def canonical b.value end |
#details ⇒ Object
6704 6705 6706 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 6704 def details {:species => {:string => b.value}} end |
#hybrid ⇒ Object
6696 6697 6698 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 6696 def hybrid true end |
#pos ⇒ Object
6700 6701 6702 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 6700 def pos {b.interval.begin => ["species", b.interval.end]} end |
#value ⇒ Object
6688 6689 6690 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 6688 def value a.value + " " + b.value end |