diff options
author | Xavier Noria <fxn@hashref.com> | 2012-08-19 21:33:58 +0200 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2012-08-19 21:33:58 +0200 |
commit | 30f091b35a7617847bdef0c8957ce411c616c0da (patch) | |
tree | 9afe853063a9a1eaf61e5eceb68541ab52a85d4d /activesupport/lib/active_support | |
parent | 1dbf1c80ac4693634f536b410e7d4910cc2e173f (diff) | |
download | rails-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')
-rw-r--r-- | activesupport/lib/active_support/dependencies.rb | 2 |
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? |