1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

merge revision(s) r47850: [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_1@47946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nagachika 2014-10-15 14:10:21 +00:00
parent 54af7108b5
commit 7ec073a817
3 changed files with 8 additions and 3 deletions

View file

@ -1,3 +1,10 @@
Wed Oct 15 23:10:07 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
* 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]
Wed Oct 15 23:08:02 2014 Rei Odaira <Rei.Odaira@gmail.com>
* configure.in: Fix typo. [Bug #9914]

2
dir.c
View file

@ -1784,11 +1784,9 @@ dir_globs(long argc, const VALUE *argv, int flags)
/*
* call-seq:
* Dir[ array ] -> array
* Dir[ string [, string ...] ] -> array
*
* Equivalent to calling
* <code>Dir.glob(</code><i>array,</i><code>0)</code> and
* <code>Dir.glob([</code><i>string,...</i><code>],0)</code>.
*
*/

View file

@ -1,6 +1,6 @@
#define RUBY_VERSION "2.1.4"
#define RUBY_RELEASE_DATE "2014-10-15"
#define RUBY_PATCHLEVEL 249
#define RUBY_PATCHLEVEL 250
#define RUBY_RELEASE_YEAR 2014
#define RUBY_RELEASE_MONTH 10