diff options
author | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-05-16 12:38:11 +0000 |
---|---|---|
committer | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-05-16 12:38:11 +0000 |
commit | cff3676c945a14f44e3f922468cf9be6e07613aa (patch) | |
tree | 1637b9a652fa87a1085e705cc158e0b5e79ac2b2 /enum.c | |
parent | ec0a083d93f67ae354eddb0ec9bc4ab39b944394 (diff) |
* enum.c: fix a sample code. Patch by @eagletmt
[fix GH-901][ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'enum.c')
-rw-r--r-- | enum.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -103,7 +103,7 @@ enum_grep(VALUE obj, VALUE pat) * * (1..10).grep_v 2..5 #=> [1, 6, 7, 8, 9, 10] * res =(1..10).grep_v(2..5) { |v| v * 2 } - * res #=> [1, 12, 14, 16, 18, 20] + * res #=> [2, 12, 14, 16, 18, 20] * */ |