class Parade::Parsers::DslFileParser

Given a DSL defined file, load the contents and then parse the contents with the DSL parser.

Public Class Methods

parse(filepath,options = {}) click to toggle source
# File lib/parade/parsers/dsl_file_parser.rb, line 10
def self.parse(filepath,options = {})
  Dsl.parse File.read(filepath), options
end