RubyGems Navigation menu

rsubhak 0.1.3

Recursively traverse a hash or array (ha), searching for all occurrences of hash key (k), and substituting (within their values) all occurrences of pattern (p) for replacement (r).. Though the initial intent was to sanitize the params hash as far as removing currency symbols and/or commas from attributes such as price and quantity, there is a better approach: see the note on the homepage.

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 0.2.0 - April 12, 2012 (5.5 KB)
  2. 0.1.3 - April 04, 2012 (5 KB)
  3. 0.1.2 - April 03, 2012 (5 KB)
  4. 0.1.1 - April 02, 2012 (5 KB)
  5. 0.1.0 - April 02, 2012 (5 KB)

Owners:

Authors:

  • Alex Batko

SHA 256 checksum:

3682c4cc241d304ac829af8cba111af67f1e15e0323f5ef8360ecc7d32b0082a

Total downloads 17,522

For this version 2,952

Licenses:

N/A

Required Ruby Version: None

Links: