summaryrefslogtreecommitdiff
path: root/enumerator.c
Commit message (Expand)AuthorAgeFilesLines
* * enumerator.c (lazy_zip): raise error for bad argumentsmarcandre2013-01-241-0/+6
* * enumerator.c: Optimize Lazy#zip when passed only arraysmarcandre2013-01-241-3/+35
* * enumerator.c: Fix state handling for Lazy#zipmarcandre2013-01-241-9/+15
* * enumerator.c: Fix state handling for Lazy#dropmarcandre2013-01-241-7/+8
* * enumerator.c: Fix state handling for Lazy#drop_whilemarcandre2013-01-241-9/+5
* * enumerator.c: Fix state handling for Lazy#takemarcandre2013-01-241-7/+10
* * enumerator.c (lazy_flat_map_func): flat_map should call each onlyshugo2013-01-141-15/+36
* * enumerator.c: Require block for Lazy#{take|drop}_while [Bug #7692]marcandre2013-01-141-0/+6
* * enumerator.c: Fix size for Enumerator::Lazy#flat_mapmarcandre2013-01-141-1/+1
* * enumerator.c: Fix rdoc typo (thanks to Yutaka HARA)marcandre2013-01-131-1/+1
* use RB_TYPE_Pnobu2012-12-291-1/+1
* adjust style.nobu2012-12-011-1/+1
* * include/ruby/intern.h: Restore rb_enumeratorize as it was before r37497marcandre2012-11-071-2/+11
* enum.c: prefixnobu2012-11-061-1/+1
* adjust stylenobu2012-11-061-3/+6
* * enumerator.c: Support for lazy.cycle.sizemarcandre2012-11-061-1/+6
* * enumerator.c: Add support for lazy.drop.sizemarcandre2012-11-061-1/+14
* * enumerator.c: Support for lazy.take.sizemarcandre2012-11-061-1/+10
* * enumerator.c: Support for lazy.{map|flat_map|...}.sizemarcandre2012-11-061-12/+14
* * enumerator.c: Support for lazy.sizemarcandre2012-11-061-2/+21
* * enumerator.c: Support #size for enumerators created from enumeratorsmarcandre2012-11-061-2/+5
* * enumerator.c (obj_to_enum): Have #to_enum accept a blockmarcandre2012-11-061-2/+11
* * enumerator: New method #size; constructor accepts sizemarcandre2012-11-061-11/+60
* * enumerator.c (enumerator_initialize): Warn when using deprecated formmarcandre2012-11-061-0/+1
* obj_init_copynobu2012-06-051-0/+3
* use RB_TYPE_P() instead of comparison of TYPE()nobu2012-05-231-1/+1
* * enumerator.c (lazy_take_func, lazy_take): multiple calls ofnagachika2012-05-131-1/+2
* initialize IDs in advance.nobu2012-04-031-9/+12
* * enumerator.c (inspect_enumerator): suppress uninitializednobu2012-04-031-3/+3
* * enumerator.c (inspect_enumerator): show method arguments ofshugo2012-03-261-36/+68
* * enumerator (lazy_initialize): set the instance variable "receiver"shugo2012-03-241-22/+8
* * enumerator (enumerator_inspect): include the original receiver andshugo2012-03-241-25/+64
* * enumerator.c (lazy_flat_map_func): convert the block value toshugo2012-03-191-1/+31
* * enumerator.c (enumerable_lazy): add an example of take and firstshugo2012-03-191-2/+4
* follow r35040kazu2012-03-161-1/+1
* * enumerator.c (lazy_take): don't enumerate an extra value.shugo2012-03-161-4/+15
* * enumerator.c (lazy_zip_func): variadic argument needs explicit castnobu2012-03-151-1/+1
* * enumerator.c (lazy_init_iterator): no need to check overflow twice.nobu2012-03-151-1/+1
* * enumerator.c (lazy_init_iterator): Fix type error (int vs long).drbrain2012-03-151-1/+1
* * enum.c (rb_enum_values_pack): rename from enum_values_pack, andshugo2012-03-151-29/+53
* * enumerator.c (lazy_zip): rescue StopIteration returned byshugo2012-03-151-1/+14
* * enumerator.c (lazy_zip, lazy_cycle): Enumerator::Lazy#{zip,cycle}shugo2012-03-151-23/+8
* * enumerator.c (InitVM_Enumerator): renamed Enumerable::Lazy toshugo2012-03-151-1/+1
* * enumerator.c (enumerator_lazy): added cycle to the documentation.shugo2012-03-151-2/+2
* * enumerator.c (lazy_cycle): check argument number overflow beforenobu2012-03-151-8/+9
* * enumerator.c (lazy_cycle): add Enumerable::Lazy#cycle.shugo2012-03-151-3/+43
* * include/ruby/intern.h: Add rb_check_arity, rb_error_arity [#6085]marcandre2012-03-141-1/+1
* * enumerator.c (enumerable_lazy): fix the documentation ofshugo2012-03-141-4/+8
* * enumerator.c (lazy_init_iterator): break when Qundef is returnedshugo2012-03-141-5/+76
* * enumerator.c (lazy_take): add Enumerable::Lazy#take.shugo2012-03-141-1/+33