Permalink
Browse files

no need for AS::Dependencies.(hook!|unhook!) to return anything in pa…

…rticular
  • Loading branch information...
1 parent 1dbf1c8 commit 30f091b35a7617847bdef0c8957ce411c616c0da @fxn fxn committed Aug 19, 2012
Showing with 0 additions and 2 deletions.
  1. +0 −2 activesupport/lib/active_support/dependencies.rb
@@ -287,13 +287,11 @@ def hook!
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?

0 comments on commit 30f091b

Please sign in to comment.