Module: ScientificNameClean::SpeciesWordHybrid5
- Defined in:
- lib/biodiversity/parser/scientific_name_clean.rb
Instance Method Summary collapse
Instance Method Details
#canonical ⇒ Object
4923 4924 4925 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 4923 def canonical b.value end |
#details ⇒ Object
4935 4936 4937 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 4935 def details {:species => {:epitheton => b.value}} end |
#hybrid ⇒ Object
4927 4928 4929 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 4927 def hybrid true end |
#pos ⇒ Object
4931 4932 4933 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 4931 def pos {b.interval.begin => ['species', b.interval.end]} end |
#value ⇒ Object
4919 4920 4921 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 4919 def value "× " + b.value end |