Sha256: 1e9c60fc67dde192be2ebbda1a21aa1a76343233183adf5dc74adc559aef6e49

Contents?: true

Size: 388 Bytes

Versions: 5

Compression:

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

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

  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
eeml-0.0.7 lib/eeml/output_registry.rb
eeml-0.0.6 lib/eeml/output_registry.rb
eeml-0.0.3 lib/eeml/output_registry.rb
eeml-0.0.4 lib/eeml/output_registry.rb
eeml-0.0.5 lib/eeml/output_registry.rb