diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2006-02-04 06:11:42 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2006-02-04 06:11:42 +0000 |
commit | ed080863d5783b09cdc7aa397d3622e9b2eefc82 (patch) | |
tree | a9482c69c04223362124b96014c8428c5204fa84 /activesupport/lib/active_support/reloadable.rb | |
parent | a6a683b0bb7c6019ed38b5d1bba1dac4594dc5da (diff) | |
download | rails-ed080863d5783b09cdc7aa397d3622e9b2eefc82.tar.gz rails-ed080863d5783b09cdc7aa397d3622e9b2eefc82.tar.bz2 rails-ed080863d5783b09cdc7aa397d3622e9b2eefc82.zip |
Just go with Subclasses instead of OnlySubclasses
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3533 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activesupport/lib/active_support/reloadable.rb')
-rw-r--r-- | activesupport/lib/active_support/reloadable.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/reloadable.rb b/activesupport/lib/active_support/reloadable.rb index c71b2fa4bd..3fd13e3d0f 100644 --- a/activesupport/lib/active_support/reloadable.rb +++ b/activesupport/lib/active_support/reloadable.rb @@ -19,7 +19,7 @@ module Reloadable # Captures the common pattern where a base class should not be reloaded, # but its subclasses should be. - module OnlySubclasses + module Subclasses def self.included(base) #nodoc: base.send :include, Reloadable (class << base; self; end).send(:define_method, :reloadable?) do |