From: mlorenz@... Date: 2014-06-30T02:45:13+00:00 Subject: [ruby-core:63413] [ruby-trunk - Bug #9996] document File.join returns a string Issue #9996 has been updated by Mark Lorenz. 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. ---------------------------------------- Bug #9996: document File.join returns a string https://bugs.ruby-lang.org/issues/9996#change-47455 * Author: Mark Lorenz * Status: Open * 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/