RubyGems Navigation menu

skn_utils 2.0.1

Creates an PORO Object with instance variables and associated getters and setters for each input key, during runtime. If a key's value is also a hash, it too can optionally become an Object. If a key's value is a Array of Hashes, each element of the Array can optionally become an Object. This nesting action is controlled by the value of the options key ':depth'. Options key :depth defaults to :multi, and has options of :single, :multi, or :multi_with_arrays The ability of the resulting Object to be Marshalled(dump/load) can be preserved by merging configuration options into the input params key ':enable_serialization' set to true. It defaults to false for speed purposes. Review the RSpec tests, and or review the README for more details.

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 5.8.0 - May 29, 2020 (41.5 KB)
  2. 5.7.0 - February 03, 2020 (43 KB)
  3. 5.6.0 - June 02, 2019 (41.5 KB)
  4. 5.5.0 - February 25, 2019 (41 KB)
  5. 5.4.1 - January 02, 2019 (36 KB)
  6. 2.0.1 - December 10, 2015 (15.5 KB)
Show all versions (65 total)

Development Dependencies (4):

bundler >= 0
pry >= 0
rake >= 0
rspec ~> 3.0

Owners:

Authors:

  • James Scott Jr

SHA 256 checksum:

f4bd7512935ef1f9aadf9946b38e4aa70919dfcdca8b62879b6e47b55903c60a

Total downloads 109,809

For this version 2,068

License:

MIT

Required Ruby Version: >= 2.0.0

Links: