Class: Object

Inherits:
BasicObject
Defined in:
lib/engine2/core.rb

Instance Method Summary collapse

Instance Method Details

#instance_variables_hashObject



28
29
30
31
32
33
# File 'lib/engine2/core.rb', line 28

def instance_variables_hash
    instance_variables.reduce({}) do |h, i|
        h[i] = instance_variable_get(i)
        h
    end
end