From: "drbrain (Eric Hodel)" Date: 2012-11-14T10:20:55+09:00 Subject: [ruby-core:49324] [ruby-trunk - Bug #7112] File.extname documentation fix Issue #7112 has been updated by drbrain (Eric Hodel). I think adding documentation for dotfiles and files ending with a dot would be sufficient. I don't think covering filesystem-specific behavior is necessarily useful. ---------------------------------------- Bug #7112: File.extname documentation fix https://bugs.ruby-lang.org/issues/7112#change-32882 Author: noah256 (Noah Silas) Status: Assigned Priority: Normal Assignee: drbrain (Eric Hodel) Category: DOC Target version: ruby -v: ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux] The documentation says that File.extname returns the portion of the filename _after_ the period, while the actual output includes the period. Update the documentation to reflect this. -- http://bugs.ruby-lang.org/