diff options
author | Akira Matsuda <ronnie@dio.jp> | 2013-01-08 02:04:29 +0900 |
---|---|---|
committer | Akira Matsuda <ronnie@dio.jp> | 2013-01-08 04:31:58 +0900 |
commit | 94a636f8ae08c8b7ec36fd46b059f06e11849649 (patch) | |
tree | 37854e2f0431341490edffe4c0327ff11c1109e0 /activesupport/lib/active_support | |
parent | 1907409596b9831e0fac2128b8f6da20b96b2003 (diff) | |
download | rails-94a636f8ae08c8b7ec36fd46b059f06e11849649.tar.gz rails-94a636f8ae08c8b7ec36fd46b059f06e11849649.tar.bz2 rails-94a636f8ae08c8b7ec36fd46b059f06e11849649.zip |
Instance_variable_names are strings. That is the most important information IMO
Diffstat (limited to 'activesupport/lib/active_support')
-rw-r--r-- | activesupport/lib/active_support/core_ext/object/instance_variables.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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) |