aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/class/delegating_attributes.rb
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2010-04-05 12:15:08 -0700
committerXavier Noria <fxn@hashref.com>2010-04-05 12:15:08 -0700
commit89978f10afbad3f856e2959a811bed1982715408 (patch)
tree9913b04ec5a63e4e88dd70de023dc50029c43690 /activesupport/lib/active_support/core_ext/class/delegating_attributes.rb
parentc140aca361506a3a759fbe03fad8adc748c807bb (diff)
downloadrails-89978f10afbad3f856e2959a811bed1982715408.tar.gz
rails-89978f10afbad3f856e2959a811bed1982715408.tar.bz2
rails-89978f10afbad3f856e2959a811bed1982715408.zip
moves Object#singleton_class to Kernel#singleton_class to match Ruby also there, same for #class_eval to simplify, and adds coverage for class_eval
Diffstat (limited to 'activesupport/lib/active_support/core_ext/class/delegating_attributes.rb')
-rw-r--r--activesupport/lib/active_support/core_ext/class/delegating_attributes.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/core_ext/class/delegating_attributes.rb b/activesupport/lib/active_support/core_ext/class/delegating_attributes.rb
index 12caa76c98..29bf7c0f3d 100644
--- a/activesupport/lib/active_support/core_ext/class/delegating_attributes.rb
+++ b/activesupport/lib/active_support/core_ext/class/delegating_attributes.rb
@@ -1,6 +1,6 @@
require 'active_support/core_ext/object/blank'
require 'active_support/core_ext/array/extract_options'
-require 'active_support/core_ext/object/singleton_class'
+require 'active_support/core_ext/kernel/singleton_class'
require 'active_support/core_ext/module/remove_method'
class Class