diff options
author | Nicholas Seckar <nseckar@gmail.com> | 2006-02-02 04:54:07 +0000 |
---|---|---|
committer | Nicholas Seckar <nseckar@gmail.com> | 2006-02-02 04:54:07 +0000 |
commit | 7a43a05a2b236123329be3198c149c8e894b0450 (patch) | |
tree | 14995d46ed0a59689d578e50a44498592f1d0a66 /activesupport/lib/active_support/core_ext/module/inclusion.rb | |
parent | 65c337ac856f7cbfa521b8e6a7d1d234b4873038 (diff) | |
download | rails-7a43a05a2b236123329be3198c149c8e894b0450.tar.gz rails-7a43a05a2b236123329be3198c149c8e894b0450.tar.bz2 rails-7a43a05a2b236123329be3198c149c8e894b0450.zip |
Further improvements to reloading code
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3519 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activesupport/lib/active_support/core_ext/module/inclusion.rb')
-rw-r--r-- | activesupport/lib/active_support/core_ext/module/inclusion.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/activesupport/lib/active_support/core_ext/module/inclusion.rb b/activesupport/lib/active_support/core_ext/module/inclusion.rb index 124c4551bc..efc00d6f28 100644 --- a/activesupport/lib/active_support/core_ext/module/inclusion.rb +++ b/activesupport/lib/active_support/core_ext/module/inclusion.rb @@ -1,8 +1,4 @@ class Module - def remove_classes_including - included_in_classes.each { |klass| Class.remove_class(klass) } - end - def included_in_classes classes = [] ObjectSpace.each_object(Class) { |k| classes << k if k.included_modules.include?(self) } |