summaryrefslogtreecommitdiff
path: root/dir.c
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-01-23 14:28:38 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-01-23 14:28:38 +0000
commit155e42c50e14c03c07763d0b4ede1633c420c164 (patch)
tree90616500529521b99468994d2f1a71a6f73e452b /dir.c
parenteaa9ca76537fbf0a9b69353b00832b65e6ca828c (diff)
* 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
Diffstat (limited to 'dir.c')
-rw-r--r--dir.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/dir.c b/dir.c
index c25b33b19d..23b9ecfd3d 100644
--- a/dir.c
+++ b/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"]