summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/NEWS9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/NEWS b/doc/NEWS
index 6db42b8714..9bf0473298 100644
--- a/doc/NEWS
+++ b/doc/NEWS
@@ -1,3 +1,12 @@
+: File#fnmatch, File::Constants::FNM_*
+
+ Added. Refer to the fnmatch(3) manpage for details.
+
+ e.g.
+
+ # exclude files matching "*.bak".
+ files.reject! { |fn| File::fnmatch?("*.bak", fn) }
+
: Method#==
Added.