= private = protected
initialize_copy(orig)
Duplicates an OpenStruct object’s Hash table.
# File lib/ostruct.rb, line 101 def initialize_copy(orig) # :nodoc: super @table = @table.dup @table.each_key{|key| new_ostruct_member(key)} end