From 94a636f8ae08c8b7ec36fd46b059f06e11849649 Mon Sep 17 00:00:00 2001 From: Akira Matsuda Date: Tue, 8 Jan 2013 02:04:29 +0900 Subject: Instance_variable_names are strings. That is the most important information IMO --- activesupport/lib/active_support/core_ext/object/instance_variables.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activesupport/lib/active_support/core_ext/object/instance_variables.rb') diff --git a/activesupport/lib/active_support/core_ext/object/instance_variables.rb b/activesupport/lib/active_support/core_ext/object/instance_variables.rb index 40821fd619..755e1c6b16 100644 --- a/activesupport/lib/active_support/core_ext/object/instance_variables.rb +++ b/activesupport/lib/active_support/core_ext/object/instance_variables.rb @@ -13,7 +13,7 @@ class Object 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) -- cgit v1.2.3