Sha256: 1e5c35c9283f025276d92726302e9f1bce86c4125665c18b54b301407f958122
Contents?: true
Size: 400 Bytes
Versions: 18
Compression:
Stored size: 400 Bytes
Contents
require_relative 'loader' require 'yaml' module Prmd #:nodoc: module MultiLoader #:nodoc: # YAML MultiLoader module Yaml extend Prmd::MultiLoader::Loader # @see (Prmd::MultiLoader::Loader#load_data) def self.load_data(data) ::YAML.load(data) end # register this loader for all .yaml and .yml files extensions '.yaml', '.yml' end end end
Version data entries
18 entries across 18 versions & 1 rubygems