aboutsummaryrefslogtreecommitdiffstats
path: root/NEWS
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-10-17 14:42:38 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-10-17 18:51:51 +0900
commite169ad93f44e1944ecf7bb65133fd34e8b868ea8 (patch)
tree82c3badab1865e5036dd054dcb15b7fdc3f7c61e /NEWS
parent2a261909cc6d0767d584c0555a1c6594aacf567a (diff)
downloadruby-e169ad93f44e1944ecf7bb65133fd34e8b868ea8.tar.gz
Fixed File.extname at a name ending with a dot
File.extname now returns a dot string at a name ending with a dot. [Bug #15267]
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS8
1 files changed, 8 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 84f9c1e2f1..e8fdfe0cf5 100644
--- a/NEWS
+++ b/NEWS
@@ -191,6 +191,14 @@ Fiber::
* Added Fiber#raise that behaves like Fiber#resume but raises an
exception on the resumed fiber. [Feature #10344]
+File::
+ Modified method::
+
+ * File.extname now returns a dot string at a name ending with a
+ dot. [Bug #15267]
+
+ File.extname("foo.") #=> "."
+
FrozenError::
New method::