diff options
author | Francesco Rodriguez <lrodriguezsanc@gmail.com> | 2012-05-16 00:24:38 -0500 |
---|---|---|
committer | Francesco Rodriguez <lrodriguezsanc@gmail.com> | 2012-05-16 00:24:38 -0500 |
commit | d8e84738ea810c7fac645349945ee765a5fc3cc4 (patch) | |
tree | 4582bfe67e1a02cc711480a9610bc16e622d5cf2 /activesupport/lib | |
parent | 007c3d8bcb695c3a712b85eb882c95a940c8875e (diff) | |
download | rails-d8e84738ea810c7fac645349945ee765a5fc3cc4.tar.gz rails-d8e84738ea810c7fac645349945ee765a5fc3cc4.tar.bz2 rails-d8e84738ea810c7fac645349945ee765a5fc3cc4.zip |
removing 1.8 reference
Diffstat (limited to 'activesupport/lib')
-rw-r--r-- | activesupport/lib/active_support/core_ext/object/instance_variables.rb | 5 |
1 files changed, 2 insertions, 3 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 91fdf93eb2..3f310143aa 100644 --- a/activesupport/lib/active_support/core_ext/object/instance_variables.rb +++ b/activesupport/lib/active_support/core_ext/object/instance_variables.rb @@ -1,6 +1,6 @@ class Object # Returns a hash that maps instance variable names without "@" to their - # corresponding values. Keys are strings both in Ruby 1.8 and 1.9. + # corresponding values. Keys are strings. # # class C # def initialize(x, y) @@ -13,8 +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 "@". They are strings - # both in Ruby 1.8 and 1.9. + # Returns an array of instance variable names including "@". They are strings. # # class C # def initialize(x, y) |