Module: ScientificNameClean::SpeciesWordHybrid1
- Defined in:
- lib/biodiversity/parser/scientific_name_clean.rb
Instance Method Summary collapse
Instance Method Details
#canonical ⇒ Object
7534 7535 7536 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 7534 def canonical b.value end |
#details ⇒ Object
7546 7547 7548 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 7546 def details {:species => {:string => b.value}} end |
#hybrid ⇒ Object
7538 7539 7540 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 7538 def hybrid true end |
#pos ⇒ Object
7542 7543 7544 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 7542 def pos {b.interval.begin => ["species", b.interval.end]} end |
#value ⇒ Object
7530 7531 7532 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 7530 def value a.value + " " + b.value end |