Path to this page:
./
devel/ruby-deep_merge,
Merge Deeply Nested Hashes
Branch: pkgsrc-2021Q1,
Version: 1.2.1,
Package name: ruby26-deep_merge-1.2.1,
Maintainer: pkgsrc-usersDeepMerge Overview
==================
Deep Merge is a simple set of utility functions for Hash. It permits you to
merge elements inside a hash together recursively. The manner by which it
does this is somewhat arbitrary (since there is no defining standard for
this) but it should end up being pretty intuitive and do what you expect.
You can learn a lot more about this by reading the test file. It's pretty
well documented and has many examples of various merges from very simple to
pretty complex.
The primary need that caused me to write this library is the merging of
elements coming from HTTP parameters and related stored parameters in
session. This lets a user build up a set of parameters over time, modifying
individual items.
Master sites:
SHA1: 4a1985fcb9fd15668f9571a2cd5dc3cf12b7c3cf
RMD160: 1dcf6125c9b19fbe402c95585f8c4f88f9288d82
Filesize: 14 KB
Version history: (Expand)
- (2021-03-30) Package added to pkgsrc.se, version ruby26-deep_merge-1.2.1 (created)