Module: ScientificNameClean::SpeciesWordHybrid5
- Defined in:
- lib/biodiversity/parser/scientific_name_clean.rb
Instance Method Summary collapse
Instance Method Details
#canonical ⇒ Object
7162 7163 7164 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 7162 def canonical b.value end |
#details ⇒ Object
7174 7175 7176 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 7174 def details {:species => {:string => b.value}} end |
#hybrid ⇒ Object
7166 7167 7168 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 7166 def hybrid true end |
#pos ⇒ Object
7170 7171 7172 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 7170 def pos {b.interval.begin => ["species", b.interval.end]} end |
#value ⇒ Object
7158 7159 7160 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 7158 def value "× " + b.value end |