Sha256: c4da0e0c4d751ee3d7d16f852a50633b2b852459311b2573bf8470cf596a2a8e
Contents?: true
Size: 560 Bytes
Versions: 6
Compression:
Stored size: 560 Bytes
Contents
# frozen_string_literal: true module Qonfig module Loaders # @api private # @since 0.2.0 module YAML # @since 0.5.0 extend Qonfig::Loaders::Basic class << self # @param data [String] # @return [Object] # # @api private # @since 0.2.0 def load(data) ::YAML.load(ERB.new(data).result) end # @return [Object] # # @api private # @since 0.5.0 def load_empty_data load('{}') end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems