diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-10-17 14:42:38 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-10-17 18:51:51 +0900 |
commit | e169ad93f44e1944ecf7bb65133fd34e8b868ea8 (patch) | |
tree | 82c3badab1865e5036dd054dcb15b7fdc3f7c61e /NEWS | |
parent | 2a261909cc6d0767d584c0555a1c6594aacf567a (diff) | |
download | bundler-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-- | NEWS | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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:: |