Method: Safe::SafeHash#initialize
- Defined in:
- lib/safestruct/safe_hash.rb
#initialize ⇒ SafeHash
Returns a new instance of SafeHash.
75 76 77 78 |
# File 'lib/safestruct/safe_hash.rb', line 75 def initialize ## todo/check: if hash works if value is a (nested) hash @h = {} end |