[#70843] Re: [ruby-cvs:58952] hsbt:r51801 (trunk): * lib/rubygems: Update to RubyGems HEAD(fe61e4c112). — Eric Wong <normalperson@...>
hsbt@ruby-lang.org wrote:
3 messages
2015/09/17
[ruby-core:70910] [Ruby trunk - Misc #11548] FileUtils#remove_tailing_slash is a poor method name
From:
nobu@...
Date:
2015-09-25 08:00:57 UTC
List:
ruby-core #70910
Issue #11548 has been updated by Nobuyoshi Nakada. It's a private method, we can replace it immediately. ---------------------------------------- Misc #11548: FileUtils#remove_tailing_slash is a poor method name https://bugs.ruby-lang.org/issues/11548#change-54276 * Author: Ryan Hosford * Status: Open * Priority: Normal * Assignee: ---------------------------------------- One would expect this method to be called `remove_trailing_slash` I asked around on IRC and the consensus is this is probably an unfortunate typo that's survived too long. Tailing and Trailing mean similar things, but I think most would expect "trailing" to be the clear choice here. http://ruby-doc.org/stdlib-2.2.3/libdoc/fileutils/rdoc/FileUtils.html#method-i-remove_tailing_slash -- https://bugs.ruby-lang.org/