Actions
Bug #1621
closedautoload Doesn't Call #to_path on non-String Argument
Bug #1621:
autoload Doesn't Call #to_path on non-String Argument
Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 1.9.2dev (2009-06-01 trunk 23614) [i686-linux]
Backport:
Description
=begin
Both require
and load
call #to_path on non-String arguments. autoload
is conceptually similar, but doesn't coerce its filename argument in this way. For consistency, both Kernel.autoload and Module#autoload should call #to_path unless passed a String.
=end
Actions