Issue #7112 has been updated by zzak (Zachary Scott).


Eregon, what do you suggest?

I sorta feel like covering every special case would be bad, but maybe add a few more examples?
----------------------------------------
Bug #7112: File.extname documentation fix
https://bugs.ruby-lang.org/issues/7112#change-32278

Author: noah256 (Noah Silas)
Status: Open
Priority: Normal
Assignee: 
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/