Sha256: b37f2e6751b6144ccaa9ef9dbb9314e5c7f746252e675965350f56a030046d11
Contents?: true
Size: 259 Bytes
Versions: 1
Compression:
Stored size: 259 Bytes
Contents
require 'yaml' module MPatch module YAML def self.save_file(file_path,config_hash) File.open(file_path, 'w+') {|f| f.write(config_hash.to_yaml) } end def self.load_file(file_path) YAML.load(File.open(file_path)) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mpatch-2.0.0 | lib/mpatch/yml.rb |