Sha256: cb8db9834f35740e55f8eaab93c3b2fc4a85b7f96a51cc55c4ddf9350aa8df15
Contents?: true
Size: 237 Bytes
Versions: 7
Compression:
Stored size: 237 Bytes
Contents
require 'yaml' require 'front_matter_parser' class Loader UNSAFE_LOADER = ->(string) { YAML.load(string) } def self.load(file_name) FrontMatterParser::Parser.parse_file(file_name, loader: UNSAFE_LOADER).front_matter end end
Version data entries
7 entries across 7 versions & 1 rubygems