Instance_variable_names are strings. That is the most important information IMO
This commit is contained in:
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)
|
||||
|
Loading…
Reference in New Issue
Block a user