From: shibata.hiroshi@... Date: 2014-06-30T02:48:10+00:00 Subject: [ruby-core:63414] [ruby-trunk - Bug #9996] [Closed] document File.join returns a string Issue #9996 has been updated by Hiroshi SHIBATA. Status changed from Open to Closed Hi, Lorenz. Thanks for your patch. I applied at r46620. ---------------------------------------- Bug #9996: document File.join returns a string https://bugs.ruby-lang.org/issues/9996#change-47456 * Author: Mark Lorenz * Status: Closed * Priority: Normal * Assignee: Eric Hodel * Category: doc * Target version: * ruby -v: ruby 1.9.3p484 and 2.1.1 * Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN ---------------------------------------- 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-------------------------------- 0001-document-File.join-returns-a-string.patch (811 Bytes) -- https://bugs.ruby-lang.org/