aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2010-01-26 23:03:58 +0100
committerXavier Noria <fxn@hashref.com>2010-01-26 23:03:58 +0100
commitc25ac0deeefe55837ba8fd2b2dc860924a507e63 (patch)
treec18f9fd0ac8b09baee0603c6ebbd993750640c4e /activesupport/lib/active_support/core_ext
parentccec730d7f2ccf5e44d3ac2b4b05c7c57af1cfb4 (diff)
downloadrails-c25ac0deeefe55837ba8fd2b2dc860924a507e63.tar.gz
rails-c25ac0deeefe55837ba8fd2b2dc860924a507e63.tar.bz2
rails-c25ac0deeefe55837ba8fd2b2dc860924a507e63.zip
removes Object#extended_by
Diffstat (limited to 'activesupport/lib/active_support/core_ext')
-rw-r--r--activesupport/lib/active_support/core_ext/object/extending.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/activesupport/lib/active_support/core_ext/object/extending.rb b/activesupport/lib/active_support/core_ext/object/extending.rb
index 357ac4a18d..ab446e399d 100644
--- a/activesupport/lib/active_support/core_ext/object/extending.rb
+++ b/activesupport/lib/active_support/core_ext/object/extending.rb
@@ -1,8 +1,4 @@
require 'active_support/core_ext/object/blank'
class Object
- def extended_by #:nodoc:
- ancestors = class << self; ancestors end
- ancestors.select { |mod| mod.class == Module } - [ Object, Kernel ]
- end
end