From 135d369096524e3e949b0a8a3330c60c000e4702 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Tue, 27 Oct 2020 08:51:54 +0900 Subject: [DOC] more precise description of "**" in Dir.glob pattern [ci skip] --- dir.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'dir.rb') diff --git a/dir.rb b/dir.rb index da19fc7002..eb46305013 100644 --- a/dir.rb +++ b/dir.rb @@ -81,7 +81,9 @@ class Dir # File::FNM_DOTMATCH flag or something like "{*,.*}". # # **:: - # Matches directories recursively or files expansively. + # Matches directories recursively if followed by /. If + # this path segment contains any other characters, it is the same as the + # usual *. # # ?:: # Matches any one character. Equivalent to /.{1}/ in regexp. -- cgit v1.2.1