Sha256: 66221d6f321d147be62a66327a9f0bf84bf2e29bca24633a9947ca1cabd30213
Contents?: true
Size: 537 Bytes
Versions: 1
Compression:
Stored size: 537 Bytes
Contents
# encoding: UTF-8 dir = File.dirname(__FILE__) require File.join(dir, *%w[parser scientific_name_clean]) require File.join(dir, *%w[parser scientific_name_dirty]) require File.join(dir, *%w[parser scientific_name_canonical]) class ScientificNameParser def initialize @clean = ScientificNameCleanParser.new @dirty = ScientificNameDirtyParser.new @canonical = ScientificNameCanonicalParser.new end def parse(a_string) @clean.parse(a_string) || @dirty.parse(a_string) || @canonical.parse(a_string) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dimus-biodiversity-0.0.13 | lib/biodiversity/parser.rb |