Sha256: cb3b2e8c24b328b9948020d87b5a65250f946c12b061d69674206f5e86719d8f

Contents?: true

Size: 195 Bytes

Versions: 1

Compression:

Stored size: 195 Bytes

Contents

class Hash
  unless Hash.instance_methods.include? :reverse_merge
    # Merges the caller into +other_hash+
    #
    def reverse_merge(other_hash)
      other_hash.merge(self)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cascade-rb-0.1.5 lib/cascade/helpers/hash.rb