Permalink
Browse files

make method signatures match the superclass signature

  • Loading branch information...
1 parent b942ae8 commit a2f7c1dc67b4cfd31d2b7840063b620ac1320d90 @tenderlove tenderlove committed Dec 6, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 activesupport/lib/active_support/dependencies.rb
@@ -236,13 +236,13 @@ def load_dependency(file)
raise
end
- def load(file, *)
+ def load(file, wrap = false)
result = false
load_dependency(file) { result = super }
result
end
- def require(file, *)
+ def require(file)
result = false
load_dependency(file) { result = super }
result

0 comments on commit a2f7c1d

Please sign in to comment.