Actions
Bug #9996
closeddocument File.join returns a string
Description
Duplicates: https://github.com/ruby/ruby/pull/646
The documented return from File.join
is path
. This patch changes it
to string
to avoid confusion with Pathname#join
, which returns a
Pathname
object.
Files
Updated by soodesune (Mark Lorenz) about 10 years ago
I don't see a way for me to close this, but my pull request was merged as I was authoring the bug #9996.
This can be closed now.
Updated by hsbt (Hiroshi SHIBATA) about 10 years ago
- Status changed from Open to Closed
Hi, Lorenz. Thanks for your patch.
I applied at r46620.
Actions
Like0
Like0Like0