Revert "Changed behavior on windows platforms too [ci skip]"

This reverts commit 1bf8d5e9797f6304b2e27cb7f42d467f84de0ff4.

Because 204dc3f39f12b4e2640555306bd1dd4530344277 reverts 61aff0cd189e67fa6f2565639ad0128fa33b88fc
This commit is contained in:
Kazuhiro NISHIYAMA 2019-12-23 12:07:15 +09:00
parent 204dc3f39f
commit 3142a6beb2
No known key found for this signature in database
GPG Key ID: 262ED8DBB4222F7A

3
NEWS
View File

@ -308,7 +308,8 @@ File::
Modified method::
* File.extname now returns a dot string at a name ending with a dot. [Bug #15267]
* File.extname now returns a dot string at a name ending with a dot on
non-Windows platforms. [Bug #15267]
File.extname("foo.") #=> "."