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.
Required Ruby Version
>= 0
Authors
James Scott Jr
Versions
- 5.8.0 May 29, 2020 (41.5 KB)
- 5.7.0 February 03, 2020 (43 KB)
- 5.6.0 June 02, 2019 (41.5 KB)
- 5.5.0 February 25, 2019 (41 KB)
- 5.4.1 January 02, 2019 (36 KB)
- 1.4.0 April 06, 2015 (16 KB)