Sha256: ce90f8c7e1bdb25d1806afab13d36ae6f73996ae9bc3ed57f84a3185d798b011

Contents?: true

Size: 412 Bytes

Versions: 5

Compression:

Stored size: 412 Bytes

Contents

require 'eeml/libxml_eeml_output_v005'
require 'eeml/json_output'

module Eeml
  class OutputRegistry # :nodoc:
    #look at the given xml, build and return a new v005 or 006 parser, accordingly
    def self.get_xml_output_for(version = Constants::EEML5_VERSION)
      LibXMLEemlOutputV005.new
    end

    def self.get_json_output_for(version = Constants::EEML5_VERSION)
      JsonOutput.new
    end

  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
eeml-0.0.17 lib/eeml/output_registry.rb
eeml-0.0.14 lib/eeml/output_registry.rb
eeml-0.0.13 lib/eeml/output_registry.rb
eeml-0.0.12 lib/eeml/output_registry.rb
eeml-0.0.11 lib/eeml/output_registry.rb