Skip to content

Commit fbd482d

Browse files
committed
Add missing @deep_dup
1 parent e33e1ec commit fbd482d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/recursive_open_struct.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ def initialize(hash=nil, passed_options={})
4141

4242
def marshal_load(attributes)
4343
hash, @options = attributes
44+
@deep_dup = DeepDup.new(@options)
4445
@sub_elements = {}
4546
super(hash)
4647
end

0 commit comments

Comments
 (0)