Sha256: d257ee05c9f41cb53e90af923c90210273ed919f1040709d65440144415aaddf

Contents?: true

Size: 322 Bytes

Versions: 1

Compression:

Stored size: 322 Bytes

Contents

module Eeml
  class OutputRegistry
    #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)
      JsonEnvironmentParser.new
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
eeml-0.0.1 lib/eeml/output_registry.rb