summaryrefslogtreecommitdiff
path: root/enum.c
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-07-01 01:55:03 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-07-01 01:55:03 +0000
commit8430f93b8fa0a166c251c270a550358a0602552d (patch)
tree6f9e9c5e6e8eabef083835c799e5d99702b74c3e /enum.c
parenta672fd8be32ea7837e814a2e755241ef805afb81 (diff)
* Add test for Enumerable#none? [fix GH-950] Patch by @yui-knk
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'enum.c')
-rw-r--r--enum.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/enum.c b/enum.c
index e14ebfa..db17c04 100644
--- a/enum.c
+++ b/enum.c
@@ -1401,6 +1401,7 @@ DEFINE_ENUMFUNCS(none)
* [].none? #=> true
* [nil].none? #=> true
* [nil, false].none? #=> true
+ * [nil, false, true].none? #=> false
*/
static VALUE
enum_none(VALUE obj)