Module: ScientificNameClean::SpeciesWordHybrid5
- Defined in:
- lib/biodiversity/parser/scientific_name_clean.rb
Instance Method Summary collapse
Instance Method Details
#canonical ⇒ Object
6516 6517 6518 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 6516 def canonical b.value end |
#details ⇒ Object
6528 6529 6530 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 6528 def details {:species => {:string => b.value}} end |
#hybrid ⇒ Object
6520 6521 6522 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 6520 def hybrid true end |
#pos ⇒ Object
6524 6525 6526 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 6524 def pos {b.interval.begin => ['species', b.interval.end]} end |
#value ⇒ Object
6512 6513 6514 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 6512 def value "× " + b.value end |