Project

General

Profile

Actions

Bug #1621

closed

autoload Doesn't Call #to_path on non-String Argument

Bug #1621: autoload Doesn't Call #to_path on non-String Argument

Added by runpaint (Run Paint Run Run) over 16 years ago. Updated over 14 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 1.9.2dev (2009-06-01 trunk 23614) [i686-linux]
Backport:
[ruby-core:23834]

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

Also available in: PDF Atom