Skip to content

Commit

Permalink
* variable.c: Added documentation about order of Module#constants
Browse files Browse the repository at this point in the history
  [ci skip][Bug #12121][ruby-dev:49505][fix rubyGH-1301]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
hsbt committed Mar 23, 2016
1 parent 4b12910 commit e394823
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
@@ -1,3 +1,8 @@
Wed Mar 23 10:39:38 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 22 21:08:30 2016 Martin Duerst <duerst@it.aoyama.ac.jp>

* include/ruby/oniguruma.h: Additional flag for characters that are titlecase.
Expand Down
3 changes: 3 additions & 0 deletions variable.c
Expand Up @@ -2457,6 +2457,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
*
Expand Down

0 comments on commit e394823

Please sign in to comment.