Module: ScientificNameClean::SpeciesWordHybrid5
- Defined in:
- lib/biodiversity/parser/scientific_name_clean.rb
Instance Method Summary collapse
Instance Method Details
#canonical ⇒ Object
7606 7607 7608 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 7606 def canonical b.value end |
#details ⇒ Object
7618 7619 7620 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 7618 def details {:species => {:string => b.value}} end |
#hybrid ⇒ Object
7610 7611 7612 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 7610 def hybrid true end |
#pos ⇒ Object
7614 7615 7616 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 7614 def pos {b.interval.begin => ["species", b.interval.end]} end |
#value ⇒ Object
7602 7603 7604 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 7602 def value "× " + b.value end |