Skip to content

Commit

Permalink
Revert "removes unused optional argument in AS::Dependencies::Loadabl…
Browse files Browse the repository at this point in the history
…e#load"

This argument is there because that's the signature of Kernel#load.

This reverts commit bf3fa34.
  • Loading branch information
fxn committed Aug 20, 2012
1 parent bf3fa34 commit f298481
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activesupport/lib/active_support/dependencies.rb
Expand Up @@ -246,7 +246,7 @@ def load_dependency(file)
raise
end

def load(file)
def load(file, wrap = false)
result = false
load_dependency(file) { result = super }
result
Expand Down

0 comments on commit f298481

Please sign in to comment.