Method: Set#initialize_copy

Defined in:
lib/extensions/set/set.rb,
lib/extensions/rhoxml/rexml/set.rb

#initialize_copy(orig) ⇒ Object

Copy internal hash.



91
92
93
# File 'lib/extensions/set/set.rb', line 91

def initialize_copy(orig)
  @hash = orig.instance_eval{@hash}.dup
end