Sha256: d34958e6176eb04a6643327be6c56660ff9f2111e2387ecf2d8a9fc9ea8a6562

Contents?: true

Size: 390 Bytes

Versions: 3

Compression:

Stored size: 390 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 = EEML5_VERSION)
      LibXMLEemlOutputV005.new
    end

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

  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
eeml-0.0.10 lib/eeml/output_registry.rb
eeml-0.0.9 lib/eeml/output_registry.rb
eeml-0.0.8 lib/eeml/output_registry.rb