Method: Set#initialize_dup
- Defined in:
- lib/set.rb
#initialize_dup(orig) ⇒ Object
Dup internal hash.
284 285 286 287 |
# File 'lib/set.rb', line 284 def initialize_dup(orig) super @hash = orig.instance_variable_get(:@hash).dup end |