Class: Darthjee::CoreExt::Hash::DeepHashConstructor
- Defined in:
- lib/darthjee/core_ext/hash/deep_hash_constructor.rb
Instance Attribute Summary collapse
-
#separator ⇒ Object
Returns the value of attribute separator.
Instance Method Summary collapse
- #deep_hash(object) ⇒ Object
-
#initialize(separator) ⇒ DeepHashConstructor
constructor
A new instance of DeepHashConstructor.
Constructor Details
#initialize(separator) ⇒ DeepHashConstructor
Returns a new instance of DeepHashConstructor.
9 10 11 |
# File 'lib/darthjee/core_ext/hash/deep_hash_constructor.rb', line 9 def initialize(separator) @separator = separator end |
Instance Attribute Details
#separator ⇒ Object
Returns the value of attribute separator.
7 8 9 |
# File 'lib/darthjee/core_ext/hash/deep_hash_constructor.rb', line 7 def separator @separator end |