Project

General

Profile

Bug #9996

document File.join returns a string

Added by soodesune (Mark Lorenz) about 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
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

Also available in: Atom PDF