Project

General

Profile

Actions

Bug #9996

closed

document File.join returns a string

Added by soodesune (Mark Lorenz) over 9 years ago. Updated over 9 years ago.

Status:
Closed
Target version:
-
ruby -v:
ruby 1.9.3p484 and 2.1.1
[ruby-core:63412]

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) over 9 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) over 9 years ago

  • Status changed from Open to Closed

Hi, Lorenz. Thanks for your patch.

I applied at r46620.

Actions

Also available in: Atom PDF

Like0
Like0Like0