aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_enum.rb
Commit message (Expand)AuthorAgeFilesLines
* Optimize enum_sum for a range from int to intmrkn2016-05-171-0/+16
* Implement Enumerable#summrkn2016-05-171-0/+90
* Use Integer instead of Fixnum and Bignum.akr2016-05-171-10/+1
* envutil.rb defines Integer::{FIXNUM_MIN,FIXNUM_MAX}.akr2016-05-011-3/+2
* * array.c (rb_ary_sum): Array#sum is implemented.akr2016-04-131-7/+0
* * enum.c (ary_inject_op): Use Kahan's compensated summation algorithmmrkn2016-03-231-0/+7
* * enum.c (ary_inject_op): Implement the specialized code for sum ofakr2016-03-171-1/+9
* * array.c (rb_ary_max, rb_ary_min): Array#max and Array#min added.mame2016-03-171-15/+15
* * enum.c (enum_inject): Implement the specialized code for sum ofakr2016-03-171-0/+36
* * enum.c (enum_inject): Consider redefinition of Fixnum#+.akr2016-03-151-0/+12
* test/ruby: suppress parser warningsnobu2016-02-191-3/+3
* Add frozen_string_literal: false for all filesnaruse2015-12-161-0/+1
* * enum.c (nmin_filter): Fix limit value.akr2015-10-041-0/+5
* preserve encodings in error messagesnobu2015-09-281-0/+2
* * enum.c: added doc for Enumerable#ziphsbt2015-08-111-1/+4
* all?, any?, one?, none? of empty Enumerablenobu2015-07-041-0/+7
* * Add test case for empty array and first method with args.hsbt2015-07-041-0/+1
* * Add test for `Enumerable#sort` with block. Patch by @yui-knkhsbt2015-07-041-0/+1
* * Add test for Enumerable#none? [fix GH-950] Patch by @yui-knkhsbt2015-07-011-0/+1
* enum.c (enum_minmax): simplify return value creationnormal2015-06-251-0/+1
* * enum.c (enum_chunk_while): New method Enumerable#chunk_while.akr2015-06-141-0/+5
* vm.c: break from orphan blocknobu2015-06-121-2/+19
* * enum.c (enum_grep_v, grep_i, grep_iter_i, Init_enum):sorah2015-05-141-0/+12
* * enum.c (enum_to_a): fix incompatibility introduced in r50457.glass2015-05-121-0/+30
* test_enum.rb: use assert_warningnobu2015-04-201-15/+1
* * enum.c: Enumerable#chunk and Enumerable#slice_before no longer takesakr2015-04-061-32/+0
* enum.c: limit sizenobu2015-02-281-0/+16
* test/ruby: suppress warningsnobu2014-11-291-1/+1
* enum.c: nil if no iterationnobu2014-10-151-0/+1
* * enum.c (nmin_run): max(n) and max_by(n) returns an array inakr2014-10-131-3/+3
* * enum.c (enum_slice_when): New method: Enumerable#slice_when.akr2014-09-201-0/+55
* * enum.c: Enumerable#slice_after implemented.akr2014-05-181-0/+43
* * test/ruby/test_enum.rb (test_flat_map): Added test for flat_map.hsbt2014-04-261-0/+22
* enum.c: fix condition to recycle block argumentnobu2014-04-161-0/+10
* test_enum.rb: add testsnobu2014-04-161-0/+12
* vm_insnhelper.c: relax arity checknobu2014-03-131-0/+111
* revert [Bug #9605]nobu2014-03-121-111/+0
* enum.c: yield multiple valuesnobu2014-03-071-0/+111
* * test/ruby: get rid of warnings.usa2014-03-041-1/+1
* * enum.c: Enumerable#{min,min_by,max,max_by} extended to take anakr2014-02-141-0/+8
* * array.c: Have to_h raise on elements that are not key-value pairs [#9239]marcandre2013-12-231-7/+11
* * array.c: Add Array#to_h [Feature #7292]marcandre2013-10-231-0/+27
* * test_enum.rb: Make test more precisemarcandre2013-03-221-1/+1
* array.c, enum.c: TypeError in zipnobu2012-09-191-1/+1
* * enum.c: move work variables to objects not to let called blocksnobu2012-02-171-0/+19
* * enum.c (slice_before_i): use rb_attr_get to surpress wrong warningnaruse2011-09-241-0/+16
* add a test.akr2011-01-011-0/+1
* * enum.c (enum_join): remove Enumerable#join. [ruby-core:24786]matz2010-03-131-32/+0
* * enumerator.c: move implementation of each_slice, each_cons,matz2010-02-031-8/+11
* * enum.c (enum_each_entry): new method #each_entry to pack valuesmatz2010-02-021-0/+12