Sha256: 729395de2dc0602e10754216fd1a3d93ec427a522a99093c8b7c735456951c45
Contents?: true
Size: 282 Bytes
Versions: 49
Compression:
Stored size: 282 Bytes
Contents
require 'itamae' require 'hashie' require 'json' module Itamae class Node < Hashie::Mash def reverse_merge(other_hash) Hashie::Mash.new(other_hash).merge(self) end def reverse_merge!(other_hash) self.replace(reverse_merge(other_hash)) end end end
Version data entries
49 entries across 49 versions & 1 rubygems