summaryrefslogtreecommitdiff
path: root/doc/NEWS
diff options
context:
space:
mode:
Diffstat (limited to 'doc/NEWS')
-rw-r--r--doc/NEWS9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/NEWS b/doc/NEWS
index 6db42b87145..9bf04732989 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.