Module: ScientificNameClean::SpeciesWordHybrid1
- Defined in:
- lib/biodiversity/parser/scientific_name_clean.rb
Instance Method Summary collapse
Instance Method Details
#canonical ⇒ Object
4851 4852 4853 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 4851 def canonical b.value end |
#details ⇒ Object
4863 4864 4865 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 4863 def details {:species => {:epitheton => b.value}} end |
#hybrid ⇒ Object
4855 4856 4857 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 4855 def hybrid true end |
#pos ⇒ Object
4859 4860 4861 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 4859 def pos {b.interval.begin => ['species', b.interval.end]} end |
#value ⇒ Object
4847 4848 4849 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 4847 def value a.value + " " + b.value end |