Sha256: 88714fb6ca0088b0593d9733a8b155ddcef97887e613c9fef230cbe0daa19a3a
Contents?: true
Size: 322 Bytes
Versions: 3
Compression:
Stored size: 322 Bytes
Contents
# frozen_string_literal: true module Yamls module Helpers class YamlLoad def initialize(filepath, loader: YAML) @filepath = filepath @loader = loader end def load loader.load_file(filepath) end private attr_reader :filepath, :loader end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
yamls-0.2.2 | lib/yamls/helpers/yaml_load.rb |
yamls-0.2.1 | lib/yamls/helpers/yaml_load.rb |
yamls-0.2.0 | lib/yamls/helpers/yaml_load.rb |