From f173b876f6a55a4b9cbbf7c3535cc7c3341b7af4 Mon Sep 17 00:00:00 2001 From: usa Date: Wed, 15 Oct 2014 07:13:47 +0000 Subject: merge revision(s) 47850: [Backport #10294] * dir.c (dir_s_aref): fix rdoc. `Dir.glob` allows an array but `Dir[]` not. the former accepts an optional parameter `flags`, while the latter accepts arbitrary number of arguments but no `flags`. [ruby-core:65265] [Bug #10294] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@47934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- dir.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'dir.c') diff --git a/dir.c b/dir.c index dd44190335..7d61b61fdb 100644 --- a/dir.c +++ b/dir.c @@ -1751,11 +1751,9 @@ dir_globs(long argc, VALUE *argv, int flags) /* * call-seq: - * Dir[ array ] -> array * Dir[ string [, string ...] ] -> array * * Equivalent to calling - * Dir.glob(array,0) and * Dir.glob([string,...],0). * */ -- cgit v1.2.3