aboutsummaryrefslogtreecommitdiffstats
path: root/NEWS.md
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2020-01-18 00:21:11 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2020-01-19 14:46:01 +0900
commit2f1081a451f21ca017cc9fdc585883e5c6ebf618 (patch)
tree969944cf4132ad97f703f2c610816e5d21e6557d /NEWS.md
parentaf6563f0242487781038f6e5304fb375102aff66 (diff)
downloadruby-2f1081a451f21ca017cc9fdc585883e5c6ebf618.tar.gz
Sort globbed results by default [Feature #8709]
Sort the results which matched single wildcard or character set in binary ascending order, unless `sort: false` is given. The order of an Array of pattern strings and braces are not affected.
Diffstat (limited to 'NEWS.md')
-rw-r--r--NEWS.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/NEWS.md b/NEWS.md
index 1c0feb6560..a53f4f22a4 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -14,6 +14,13 @@ sufficient information, see the ChangeLog file or Redmine
## Core classes updates (outstanding ones only)
+* Dir
+
+ * Modified method
+
+ * Dir.glob and Dir.[] now sort the results by default, and
+ accept `sort:` keyword option. [[Feature #8709]]
+
* Hash
* Modified method
@@ -46,6 +53,7 @@ sufficient information, see the ChangeLog file or Redmine
## Miscellaneous changes
+[Feature #8709]: https://bugs.ruby-lang.org/issues/8709
[Feature #8948]: https://bugs.ruby-lang.org/issues/8948
[Feature #16274]: https://bugs.ruby-lang.org/issues/16274
[Feature #16377]: https://bugs.ruby-lang.org/issues/16377