Module: ScientificNameClean::SpeciesWordHybrid3
- Defined in:
- lib/biodiversity/parser/scientific_name_clean.rb
Instance Method Summary collapse
Instance Method Details
#canonical ⇒ Object
4887 4888 4889 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 4887 def canonical b.value end |
#details ⇒ Object
4899 4900 4901 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 4899 def details {:species => {:epitheton => b.value}} end |
#hybrid ⇒ Object
4891 4892 4893 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 4891 def hybrid true end |
#pos ⇒ Object
4895 4896 4897 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 4895 def pos {b.interval.begin => ['species', b.interval.end]} end |
#value ⇒ Object
4883 4884 4885 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 4883 def value "× " + b.value end |