aboutsummaryrefslogtreecommitdiffstats
path: root/variable.c
diff options
context:
space:
mode:
Diffstat (limited to 'variable.c')
-rw-r--r--variable.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/variable.c b/variable.c
index b53d0c1d1d..940b47d252 100644
--- a/variable.c
+++ b/variable.c
@@ -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
*