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

Actions

Also available in: Atom PDF

Like0
Like0Like0