Sha256: 364233e79e970f619f2d44eb9b74ad0994f2debb695aaee34b0fe9ce338e86e8

Contents?: true

Size: 489 Bytes

Versions: 1

Compression:

Stored size: 489 Bytes

Contents

require_relative 'dsl_file_parser'

module Parade
  module Parsers

    #
    # The Presentation File Parser allows for the JSON formatted file or the
    # DSL formatted files. The determination of which to use is solely based
    # on the file extension.
    #
    class PresentationFileParser

      def self.parse(filepath,options = {})
        options = options.merge(:current_path => File.dirname(filepath))
        DslFileParser.parse(filepath,options)
      end

    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
parade-0.10.2 lib/parade/parsers/presentation_file_parser.rb