ruby-changes:14546
From: naruse <ko1@a...>
Date: Sat, 23 Jan 2010 23:28:59 +0900 (JST)
Subject: [ruby-changes:14546] Ruby:r26385 (trunk): * dir.c (dir_s_glob): add rdoc by Roger Pack.
naruse 2010-01-23 23:28:38 +0900 (Sat, 23 Jan 2010) New Revision: 26385 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=26385 Log: * dir.c (dir_s_glob): add rdoc by Roger Pack. [ruby-core:27669] Modified files: trunk/ChangeLog trunk/dir.c Index: ChangeLog =================================================================== --- ChangeLog (revision 26384) +++ ChangeLog (revision 26385) @@ -1,3 +1,7 @@ +Sat Jan 23 23:27:12 2010 NARUSE, Yui <naruse@r...> + + * dir.c (dir_s_glob): add rdoc by Roger Pack. [ruby-core:27669] + Sat Jan 23 23:12:56 2010 NARUSE, Yui <naruse@r...> * lib/rdoc/generator/html.rb (RDoc::Generator::HTML#gen_into): Index: dir.c =================================================================== --- dir.c (revision 26384) +++ dir.c (revision 26385) @@ -1732,6 +1732,9 @@ * Equivalent to pattern alternation in * regexp. * <code>\</code>:: Escapes the next metacharacter. + * Note that this means you cannot use backslash in windows + * as part of a glob, i.e. Dir["c:\\*"] will not work + * use Dir["c:/*"] instead * * Dir["config.?"] #=> ["config.h"] * Dir.glob("config.?") #=> ["config.h"] -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/