Sha256: eed95a5260dff50e1ae3cd1ebf45bf85e5d9a84af20a03b3e8ea422b16008bc7
Contents?: true
Size: 333 Bytes
Versions: 11
Compression:
Stored size: 333 Bytes
Contents
require 'yaml' module MPatch module Extend module YAML def save_file(file_path,config_hash) File.open(file_path, 'w+') {|f| f.write(config_hash.to_yaml) } end def load_file(file_path) ::YAML.load(File.open(file_path)) end end end require File.join 'mpatch','injector' end
Version data entries
11 entries across 11 versions & 1 rubygems