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

merge revision(s) 54231: [Backport #12121]

* variable.c: Added documentation about order of `Module#constants`
	  [ci skip][Bug #12121][ruby-dev:49505][fix GH-1301]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@54285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2016-03-25 09:42:52 +00:00
parent e4a39e0e9e
commit b3f1ffd79b
3 changed files with 9 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Fri Mar 25 18:42:46 2016 Koichi ITO <koic.ito@gmail.com>
* variable.c: Added documentation about order of `Module#constants`
[ci skip][Bug #12121][ruby-dev:49505][fix GH-1301]
Fri Mar 25 18:41:14 2016 Nobuyoshi Nakada <nobu@ruby-lang.org>
* string.c (enc_succ_alnum_char): try to skip an invalid character

View file

@ -2058,6 +2058,9 @@ rb_const_list(void *data)
* modules (example at start of section), unless the <i>inherit</i>
* parameter is set to <code>false</code>.
*
* The implementation makes no guarantees about the order in which the
* constants are yielded.
*
* IO.constants.include?(:SYNC) #=> true
* IO.constants(false).include?(:SYNC) #=> false
*

View file

@ -1,6 +1,6 @@
#define RUBY_VERSION "2.1.9"
#define RUBY_RELEASE_DATE "2016-03-25"
#define RUBY_PATCHLEVEL 482
#define RUBY_PATCHLEVEL 483
#define RUBY_RELEASE_YEAR 2016
#define RUBY_RELEASE_MONTH 3