summaryrefslogtreecommitdiff
path: root/test/ruby/test_enumerator.rb
AgeCommit message (Expand)Author
2022-12-21Make Enumerartor.product return nil when called with a blockAkinori MUSHA
2022-12-21Make product consistently yield an array of N elements instead of N argumentsAkinori MUSHA
2022-12-16Reject keyword arguments given to Enumerator::Product.newAkinori MUSHA
2022-07-30Implement Enumerator::Product and Enumerator.product [Feature #18685]Akinori MUSHA
2021-09-13Use capture_output instead of capture_ioHiroshi SHIBATA
2021-03-06Undef Enumerator::Chain#{feed,next,next_values,peek,peek_values}Jeremy Evans
2021-03-06Make Enumerator#{+,chain} create lazy chain if any included enumerator is lazyJeremy Evans
2021-03-06Fix calling enumerator methods such as with_index on Enumerator::ChainJeremy Evans
2021-01-02Add Enumerable#compact and Enumerator::Lazy#compactzverok
2020-12-22Enumerator.new: raise unless block given卜部昌平
2020-09-25test/ruby/test_enumerator.rb: check the deprecation warningYusuke Endoh
2020-09-25test/ruby/test_enumerator.rb: remove capture_io that is no longer neededYusuke Endoh
2020-09-25Disable deprecation warning by the default [Feature #16345]Nobuyoshi Nakada
2019-12-03Make Enumerator::Chain#each treat lambdas as lambdaJeremy Evans
2019-09-30Add rb_enumeratorize_with_size_kw and related macrosJeremy Evans
2019-09-12Document and test Enumerator.produceAkinori MUSHA
2019-06-02Make size on an infinite each_slice enumerator return InfinityJeremy Evans
2019-05-23Adding Enumerable#filter_mapAlfonso Jiménez
2019-03-11Implement Enumerator::Yielder#to_procknu
2018-12-24enumerator.c: fix inspect with the last empty hashnobu
2018-11-24Implement Enumerator#+ and Enumerable#chain [Feature #15144]knu
2018-10-22Set the size of a new enumerator created by Enumerator#each with arguments to...knu
2018-09-18Tests of Enumerator::Yielder#yield with multiple argumentsnobu
2018-08-06enumerator.c: Introduce Enumerator::ArithmeticSequencemrkn
2018-03-13test_enumerator.rb: duplicate assertionsnobu
2018-03-13Bug Fix Enumerator::Lazy#uniq state for multiple callnobu
2018-02-25Add a new #filter alias for #selecteregon
2017-12-12Add FrozenError as a subclass of RuntimeErrorshyouhei
2017-11-05enum.c: check argument firstnobu
2017-11-05Fix size on Enumerable#cycle when the size is 0 [Bug #14082].marcandre
2016-07-20enumerator.c: Enumerator::Lazy#uniqnobu
2016-02-19test/ruby: suppress parser warningsnobu
2015-12-16Add frozen_string_literal: false for all filesnaruse
2015-10-22Kernel#loop returns the result value of a finished iteratorknu
2015-09-28preserve encodings in error messagesnobu
2014-11-13* test/lib/envutil.rb: Moved from test/ruby/.akr
2014-03-10merge GH-558nobu
2013-12-14Additional test coverage to Enumerator#peek.nobu
2013-12-07hash.c: rb_hash_reject without dupnobu
2013-11-30enumerator.c: should not store local variable addressnobu
2013-08-27* enumerator.c: Allow Enumerator size argument to be any callable.marcandre
2013-07-29Add a frozenness check to Enumerator::Generator#initialize.knu
2013-07-29Add a frozenness check to Enumerator#initialize.knu
2013-05-18enumerator.c: use VALUEnobu
2013-03-11* enumerator.c (enumerator_with_index): try to convert given offset tonaruse
2013-03-05enumerator.c: allow Bignum for with_indexnobu
2012-11-24Fix tests of rb_warning().knu
2012-11-10Revert of 37541 "* test/ruby/test_enumerator.rb: Add test to shed light upon ...marcandre
2012-11-07* test/ruby/test_enumerator.rb: Add test to shed light upon the bugayumin
2012-11-06* string.c: Support for String#{each_byte,each_char,each_codepoint}.sizemarcandre