Class: Leadlight::ParamHash
- Inherits:
-
Hash
- Object
- Hash
- Leadlight::ParamHash
- Defined in:
- lib/leadlight/param_hash.rb
Instance Method Summary collapse
-
#initialize(hash) ⇒ ParamHash
constructor
A new instance of ParamHash.
Constructor Details
#initialize(hash) ⇒ ParamHash
Returns a new instance of ParamHash.
13 14 15 16 17 |
# File 'lib/leadlight/param_hash.rb', line 13 def initialize(hash) super(transform_hash(Hash[hash], :deep => true) {|h,k,v| h[k] = transform_value(v) }) end |