Module: ScientificNameClean::SpeciesWordHybrid1
- Defined in:
- lib/biodiversity/parser/scientific_name_clean.rb
Instance Method Summary collapse
Instance Method Details
#canonical ⇒ Object
6444 6445 6446 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 6444 def canonical b.value end |
#details ⇒ Object
6456 6457 6458 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 6456 def details {:species => {:string => b.value}} end |
#hybrid ⇒ Object
6448 6449 6450 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 6448 def hybrid true end |
#pos ⇒ Object
6452 6453 6454 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 6452 def pos {b.interval.begin => ['species', b.interval.end]} end |
#value ⇒ Object
6440 6441 6442 |
# File 'lib/biodiversity/parser/scientific_name_clean.rb', line 6440 def value a.value + " " + b.value end |