Module: ScientificNameClean::SpeciesEpitheton2
- Defined in:
- lib/biodiversity/parser/scientific_name_clean.rb
Instance Method Summary collapse
Instance Method Details
#canonical ⇒ Object
2043 2044 2045 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 2043 def canonical a.value end |
#details ⇒ Object
2055 2056 2057 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 2055 def details {:species => {:epitheton => a.value}} end |
#hybrid ⇒ Object
2047 2048 2049 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 2047 def hybrid a.hybrid rescue false end |
#pos ⇒ Object
2051 2052 2053 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 2051 def pos {a.interval.begin => ['species', a.interval.end]} end |
#value ⇒ Object
2039 2040 2041 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 2039 def value a.value end |