diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-03-29 07:22:08 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-03-29 07:22:08 +0000 |
commit | 11b277344113be65b8a8db6e2c7ff4040104bee9 (patch) | |
tree | b3f9f626d24e07eba4b0d03fb36ef9320846a650 | |
parent | cdb968ac266025d3853aa04b6cd24c1de44b600c (diff) | |
download | ruby-11b277344113be65b8a8db6e2c7ff4040104bee9.tar.gz |
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_3@54376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | variable.c | 3 | ||||
-rw-r--r-- | version.h | 2 |
3 files changed, 9 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Tue Mar 29 16:12:08 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] + Tue Mar 29 16:02:26 2016 Rei Odaira <Rei.Odaira@gmail.com> * test/ruby/test_process.rb (test_execopts_gid): Skip a test diff --git a/variable.c b/variable.c index d83c4ac95b..79e4c8d530 100644 --- a/variable.c +++ b/variable.c @@ -2445,6 +2445,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 * @@ -1,6 +1,6 @@ #define RUBY_VERSION "2.3.0" #define RUBY_RELEASE_DATE "2016-03-29" -#define RUBY_PATCHLEVEL 33 +#define RUBY_PATCHLEVEL 34 #define RUBY_RELEASE_YEAR 2016 #define RUBY_RELEASE_MONTH 3 |