aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/dependencies.rb
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2012-08-19 21:33:58 +0200
committerXavier Noria <fxn@hashref.com>2012-08-19 21:33:58 +0200
commit30f091b35a7617847bdef0c8957ce411c616c0da (patch)
tree9afe853063a9a1eaf61e5eceb68541ab52a85d4d /activesupport/lib/active_support/dependencies.rb
parent1dbf1c80ac4693634f536b410e7d4910cc2e173f (diff)
downloadrails-30f091b35a7617847bdef0c8957ce411c616c0da.tar.gz
rails-30f091b35a7617847bdef0c8957ce411c616c0da.tar.bz2
rails-30f091b35a7617847bdef0c8957ce411c616c0da.zip
no need for AS::Dependencies.(hook!|unhook!) to return anything in particular
Diffstat (limited to 'activesupport/lib/active_support/dependencies.rb')
-rw-r--r--activesupport/lib/active_support/dependencies.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/dependencies.rb b/activesupport/lib/active_support/dependencies.rb
index c9071a73d8..bb22357c9b 100644
--- a/activesupport/lib/active_support/dependencies.rb
+++ b/activesupport/lib/active_support/dependencies.rb
@@ -287,13 +287,11 @@ module ActiveSupport #:nodoc:
Object.class_eval { include Loadable }
Module.class_eval { include ModuleConstMissing }
Exception.class_eval { include Blamable }
- true
end
def unhook!
ModuleConstMissing.exclude_from(Module)
Loadable.exclude_from(Object)
- true
end
def load?