Module: ScientificNameClean::Subgenus1
- Defined in:
- lib/biodiversity/parser/scientific_name_clean.rb
Instance Method Summary collapse
Instance Method Details
#canonical ⇒ Object
2176 2177 2178 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 2176 def canonical a.value end |
#details ⇒ Object
2184 2185 2186 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 2184 def details {:subgenus => {:epitheton => a.value}} end |
#pos ⇒ Object
2180 2181 2182 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 2180 def pos {a.interval.begin => ['subgenus', a.interval.end]} end |
#value ⇒ Object
2172 2173 2174 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 2172 def value "(" + a.value + ")" end |