Project

General

Profile

Actions

Misc #11548

closed

FileUtils#remove_tailing_slash is a poor method name

Added by slash_nick (Ryan Hosford) over 8 years ago. Updated over 8 years ago.

Status:
Closed
[ruby-core:<unknown>]

Description

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


Files

bug11548.patch (1.83 KB) bug11548.patch willianveiga (Willian Veiga), 10/01/2015 01:17 PM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0