[前][次][番号順一覧][スレッド一覧]

ruby-changes:63429

From: Nobuyoshi <ko1@a...>
Date: Sun, 25 Oct 2020 21:25:34 +0900 (JST)
Subject: [ruby-changes:63429] e880d075f8 (master): [DOC] refined "**" description in `Dir.glob` [ci skip]

https://git.ruby-lang.org/ruby.git/commit/?id=e880d075f8

From e880d075f847ff17e1bc77301a9ed363fb40525b Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Sun, 25 Oct 2020 20:52:46 +0900
Subject: [DOC] refined "**" description in `Dir.glob` [ci skip]

As same as the description for `File.fnmatch`.
[Bug #17283]

diff --git a/dir.rb b/dir.rb
index 7eacc66..f063659 100644
--- a/dir.rb
+++ b/dir.rb
@@ -81,7 +81,7 @@ class Dir https://github.com/ruby/ruby/blob/trunk/dir.rb#L81
   #   File::FNM_DOTMATCH flag or something like <code>"{*,.*}"</code>.
   #
   # <code>**</code>::
-  #   Matches directories recursively.
+  #   Matches directories recursively or files expansively.
   #
   # <code>?</code>::
   #   Matches any one character. Equivalent to <code>/.{1}/</code> in regexp.
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]