class Parade::Parsers::PresentationFileParser

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.

Public Class Methods

parse(filepath,options = {}) click to toggle source
# File lib/parade/parsers/presentation_file_parser.rb, line 13
def self.parse(filepath,options = {})
  options = options.merge(:current_path => File.dirname(filepath))
  DslFileParser.parse(filepath,options)
end