Project

General

Profile

« Previous | Next » 

Revision 39058

  • enumerator.c: Use to_enum for Enumerable methods returning Enumerators.
    This makes Lazy#cycle no longer needed, so it was removed.
    Make Enumerator#chunk and slice_before return lazy Enumerators.
    [Bug #7715]

  • internal.h: Remove ref to rb_enum_cycle_size; no longer needed

  • enum.c: Make enum_cycle_size static.

  • test/ruby/test_lazy_enumerator.rb: Test for above