From a2f7c1dc67b4cfd31d2b7840063b620ac1320d90 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Mon, 5 Dec 2011 18:36:27 -0800 Subject: make method signatures match the superclass signature --- activesupport/lib/active_support/dependencies.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'activesupport/lib/active_support') diff --git a/activesupport/lib/active_support/dependencies.rb b/activesupport/lib/active_support/dependencies.rb index 2fcbdb0d3b..989c7205fa 100644 --- a/activesupport/lib/active_support/dependencies.rb +++ b/activesupport/lib/active_support/dependencies.rb @@ -236,13 +236,13 @@ module ActiveSupport #:nodoc: 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 -- cgit v1.2.3