diff options
author | Xavier Noria <fxn@hashref.com> | 2010-01-26 23:01:51 +0100 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2010-01-26 23:01:51 +0100 |
commit | ccec730d7f2ccf5e44d3ac2b4b05c7c57af1cfb4 (patch) | |
tree | 9fedfb0922c8627c988253852828539247b8ff9a /activesupport/lib/active_support/core_ext/object | |
parent | 7d312e54bad9c39634c137caec07dfc8df471650 (diff) | |
download | rails-ccec730d7f2ccf5e44d3ac2b4b05c7c57af1cfb4.tar.gz rails-ccec730d7f2ccf5e44d3ac2b4b05c7c57af1cfb4.tar.bz2 rails-ccec730d7f2ccf5e44d3ac2b4b05c7c57af1cfb4.zip |
removes unused method Object#extend_with_included_modules_from
Diffstat (limited to 'activesupport/lib/active_support/core_ext/object')
-rw-r--r-- | activesupport/lib/active_support/core_ext/object/extending.rb | 4 |
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 c3331ab478..357ac4a18d 100644 --- a/activesupport/lib/active_support/core_ext/object/extending.rb +++ b/activesupport/lib/active_support/core_ext/object/extending.rb @@ -5,8 +5,4 @@ class Object ancestors = class << self; ancestors end ancestors.select { |mod| mod.class == Module } - [ Object, Kernel ] end - - def extend_with_included_modules_from(object) #:nodoc: - object.extended_by.each { |mod| extend mod } - end end |