Pathname.new(Dir.new('dir_name')) raises a TypeError #1154
Pathname.new should be able to accept a bare Dir.new instance as a param.
Returns a new instance of Pathname build from the Dir instance.
Raises a TypeError.
Steps to Reproduce
Test code (run from the Documents directory of a standard OS X user account).
JRuby 1.7.5 result:
MRI 1.9.3-p392 result:
The text was updated successfully, but these errors were encountered: