module ScientificNameDirty::Root1
Public Instance Methods
canonical()
click to toggle source
# File lib/biodiversity/parser/scientific_name_dirty.rb, line 33 def canonical a.canonical.gsub(/\s{2,}/, " ").strip end
details()
click to toggle source
# File lib/biodiversity/parser/scientific_name_dirty.rb, line 45 def details a.details.class == Array ? a.details : [a.details] end
hybrid()
click to toggle source
# File lib/biodiversity/parser/scientific_name_dirty.rb, line 41 def hybrid a.hybrid end
parser_run()
click to toggle source
# File lib/biodiversity/parser/scientific_name_dirty.rb, line 49 def parser_run 2 end
pos()
click to toggle source
# File lib/biodiversity/parser/scientific_name_dirty.rb, line 37 def pos a.pos end
value()
click to toggle source
# File lib/biodiversity/parser/scientific_name_dirty.rb, line 29 def value a.value.gsub(/\s{2,}/, " ").strip end