aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2012-08-20 23:55:28 +0200
committerXavier Noria <fxn@hashref.com>2012-08-20 23:55:28 +0200
commitbf3fa34ed0aa33bca3aac9c96165662fe864a7b4 (patch)
tree7e4aee44c478734d1c17b3de09b53da6d04afc04 /activesupport/lib
parent85753f13b2dce878ce0ae1e100147a2f075fe5a6 (diff)
downloadrails-bf3fa34ed0aa33bca3aac9c96165662fe864a7b4.tar.gz
rails-bf3fa34ed0aa33bca3aac9c96165662fe864a7b4.tar.bz2
rails-bf3fa34ed0aa33bca3aac9c96165662fe864a7b4.zip
removes unused optional argument in AS::Dependencies::Loadable#load
Diffstat (limited to 'activesupport/lib')
-rw-r--r--activesupport/lib/active_support/dependencies.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/dependencies.rb b/activesupport/lib/active_support/dependencies.rb
index 77cab6f08d..4e74897d5d 100644
--- a/activesupport/lib/active_support/dependencies.rb
+++ b/activesupport/lib/active_support/dependencies.rb
@@ -246,7 +246,7 @@ module ActiveSupport #:nodoc:
raise
end
- def load(file, wrap = false)
+ def load(file)
result = false
load_dependency(file) { result = super }
result