diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | array.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Mon Jun 24 02:53:09 2013 Zachary Scott <zachary@zacharyscott.net> + + * array.c: Return value in Array overview example found by @PragTob + [Fix GH-336] https://github.com/ruby/ruby/pull/336 + Mon Jun 24 02:45:51 2013 Zachary Scott <zachary@zacharyscott.net> * array.c (rb_ary_zip): typo by @PragTob [Fix GH-337] @@ -5425,7 +5425,7 @@ rb_ary_drop_while(VALUE ary) * * arr = [1, 2, 3, 4, 5, 6] * arr.select { |a| a > 3 } #=> [4, 5, 6] - * arr.reject { |a| a < 3 } #=> [4, 5, 6] + * arr.reject { |a| a < 3 } #=> [3, 4, 5, 6] * arr.drop_while { |a| a < 4 } #=> [4, 5, 6] * arr #=> [1, 2, 3, 4, 5, 6] * |