mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* dir.c (dir_s_glob): add rdoc by Roger Pack. [ruby-core:27669]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
eaa9ca7653
commit
155e42c50e
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
Sat Jan 23 23:27:12 2010 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* dir.c (dir_s_glob): add rdoc by Roger Pack. [ruby-core:27669]
|
||||
|
||||
Sat Jan 23 23:12:56 2010 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* lib/rdoc/generator/html.rb (RDoc::Generator::HTML#gen_into):
|
||||
|
|
3
dir.c
3
dir.c
|
@ -1732,6 +1732,9 @@ dir_s_aref(int argc, VALUE *argv, VALUE obj)
|
|||
* 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"]
|
||||
|
|
Loading…
Add table
Reference in a new issue