class EcipValidator::Loader

Constants

UNSAFE_LOADER

Public Class Methods

load(file_name) click to toggle source
# File lib/ecip_validator/loader.rb, line 8
def self.load(file_name)
  begin
    FrontMatterParser::Parser.parse_file(file_name, loader: UNSAFE_LOADER).front_matter
  rescue
    puts "frontmatterparser rescued from a nil death"
  end
end