module ScientificNameClean::ScientificName51
Public Instance Methods
canonical()
click to toggle source
# File lib/biodiversity/parser/scientific_name_clean.rb, line 117 def canonical a.canonical + " × " + b.canonical end
details()
click to toggle source
# File lib/biodiversity/parser/scientific_name_clean.rb, line 129 def details [a.details, b.details.merge({:genus => a.details[:genus]})] end
hybrid()
click to toggle source
# File lib/biodiversity/parser/scientific_name_clean.rb, line 125 def hybrid true end
pos()
click to toggle source
# File lib/biodiversity/parser/scientific_name_clean.rb, line 121 def pos a.pos.merge(b.pos) end
value()
click to toggle source
# File lib/biodiversity/parser/scientific_name_clean.rb, line 113 def value a.value + " × " + b.value end