Sha256: 05de2a3d7dc4255da863f659c06d9ca36321ae89f22894dabeeeb38d57a0ccc2
Contents?: true
Size: 307 Bytes
Versions: 6
Compression:
Stored size: 307 Bytes
Contents
module Doggy module Serializer class Yaml # De-serialize a Hash from YAML string def self.load(string) ::YAML.load(string) end # Serialize a Hash to YAML string def self.dump(object, options = {}) ::YAML.dump(object, options) end end end end
Version data entries
6 entries across 6 versions & 1 rubygems