Sha256: ff65dfb6e503cc3255747aafb159adbcd48e8829d58aa8d3524775cc994d9818
Contents?: true
Size: 224 Bytes
Versions: 37
Compression:
Stored size: 224 Bytes
Contents
require 'yaml' 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
Version data entries
37 entries across 37 versions & 2 rubygems