Class: Hash
- Inherits:
-
Object
- Object
- Hash
- Defined in:
- lib/roku_builder/hash.rb
Overview
********** Copyright 2016 Viacom, Inc. Apache 2.0 **********
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#deep_dup ⇒ Object
13 14 15 |
# File 'lib/roku_builder/hash.rb', line 13 def deep_dup Marshal.load(Marshal.dump(self)) end |
#deep_merge(second) ⇒ Object
7 8 9 |
# File 'lib/roku_builder/hash.rb', line 7 def deep_merge(second) self.merge(second, &deep_merger) end |
#deep_merge!(second) ⇒ Object
10 11 12 |
# File 'lib/roku_builder/hash.rb', line 10 def deep_merge!(second) self.merge!(second, &deep_merger) end |