Module: CachedValuesSupport

Defined in:
lib/utilrb/module/cached_enum.rb

Instance Method Summary collapse

Instance Method Details

#initialize_copy(other) ⇒ Object


4
5
6
7
8
9
10
# File 'lib/utilrb/module/cached_enum.rb', line 4

def initialize_copy(other)
    super

    cached_variables.each do |varname|
        instance_variable_set(varname, nil)
    end
end