From: Run Paint Run Run Date: 2009-06-13T10:49:17+09:00 Subject: [ruby-core:23834] [Bug #1621] autoload Doesn't Call #to_path on non-String Argument Bug #1621: autoload Doesn't Call #to_path on non-String Argument http://redmine.ruby-lang.org/issues/show/1621 Author: Run Paint Run Run Status: Open, Priority: Normal ruby -v: ruby 1.9.2dev (2009-06-01 trunk 23614) [i686-linux] 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. ---------------------------------------- http://redmine.ruby-lang.org