Instance_variable_names are strings. That is the most important information IMO

This commit is contained in:
Akira Matsuda 2013-01-08 02:04:29 +09:00
parent 1907409596
commit 94a636f8ae

@ -13,7 +13,7 @@ def instance_values
Hash[instance_variables.map { |name| [name[1..-1], instance_variable_get(name)] }]
end
# Returns an array of instance variable names including "@".
# Returns an array of instance variable names as strings including "@".
#
# class C
# def initialize(x, y)