summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--enum.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/enum.c b/enum.c
index aaf4e33386..9fd81ed1a7 100644
--- a/enum.c
+++ b/enum.c
@@ -1515,6 +1515,7 @@ rb_nmin_run(VALUE obj, VALUE num, int by, int rev, int ary)
* [ nil, true, 99 ].one? #=> false
* [ nil, true, false ].one? #=> true
* [ nil, true, 99 ].one?(Integer) #=> true
+ * [].one? #=> false
*
*/
static VALUE