RubyGems Navigation menu

rsubhak 0.2.0

Recursively traverse a hash or array *ha* (potentially of other nested hashes and/or arrays), doing manipulations. Two methods are available: rsubhak (do substitutions to hash values) and rstrip (strip whitespace from params hash).. Though the initial intent of the rsubhak method 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:
= Copier Copié!

installation:
=

Versions:

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

Propriétaires:

Auteurs:

  • Alex Batko

Total de contrôle SHA 256:

4e46aad112707edc00aa9fa368e882760dc821e22701dabda28ecff92503f591

Total de téléchargements 17 541

Pour cette version 5 816

License:

aucune

Version de Ruby requise: None

Liens: