ruby-changes:44534
From: akr <ko1@a...>
Date: Sun, 6 Nov 2016 00:46:52 +0900 (JST)
Subject: [ruby-changes:44534] akr:r56607 (trunk): Enumerator::Lazy#chunk_while defined.
akr 2016-11-06 00:46:48 +0900 (Sun, 06 Nov 2016) New Revision: 56607 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=56607 Log: Enumerator::Lazy#chunk_while defined. * enumerator.c (InitVM_Enumerator): Enumerator::Lazy#chunk_while defined. [Fix GH-1186] https://github.com/ruby/ruby/pull/1186 Modified files: trunk/ChangeLog trunk/enumerator.c Index: enumerator.c =================================================================== --- enumerator.c (revision 56606) +++ enumerator.c (revision 56607) @@ -2379,6 +2379,7 @@ InitVM_Enumerator(void) https://github.com/ruby/ruby/blob/trunk/enumerator.c#L2379 rb_define_method(rb_cLazy, "slice_before", lazy_super, -1); rb_define_method(rb_cLazy, "slice_after", lazy_super, -1); rb_define_method(rb_cLazy, "slice_when", lazy_super, -1); + rb_define_method(rb_cLazy, "chunk_while", lazy_super, -1); rb_define_method(rb_cLazy, "uniq", lazy_uniq, 0); rb_define_alias(rb_cLazy, "force", "to_a"); Index: ChangeLog =================================================================== --- ChangeLog (revision 56606) +++ ChangeLog (revision 56607) @@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Sun Nov 6 00:25:11 2016 Sho Hashimoto <sho.hsmt@g...> + + * enumerator.c (InitVM_Enumerator): Enumerator::Lazy#chunk_while + defined. [Fix GH-1186] + https://github.com/ruby/ruby/pull/1186 + Sun Nov 6 00:22:51 2016 Kazuki Tsujimoto <kazuki@c...> * vm_eval.c (vm_call0_cfunc_with_frame): pass method id to -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/