Sha256: 3c5ca396a10ff2b638987a1b1762761a3c839b4f7ed17351dd1bd5403993062d
Contents?: true
Size: 418 Bytes
Versions: 6
Compression:
Stored size: 418 Bytes
Contents
# frozen_string_literal: true # @api private # @since 0.2.0 class Qonfig::Loaders::YAML < 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
Version data entries
6 entries across 6 versions & 1 rubygems