Taken from ActiveRecord
[Source]
# File lib/swxruby/core_extensions.rb, line 10 10: def instance_values 11: instance_variables.inject({}) do |values, name| 12: values[name[1..-1]] = instance_variable_get(name) 13: values 14: end 15: end
[Validate]