mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Enumerator::Lazy#chunk_while defined.
* enumerator.c (InitVM_Enumerator): Enumerator::Lazy#chunk_while defined. [Fix GH-1186] https://github.com/ruby/ruby/pull/1186 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
04ff7cf712
commit
7c7444bcd3
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
Sun Nov 6 00:25:11 2016 Sho Hashimoto <sho.hsmt@gmail.com>
|
||||
|
||||
* 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@callcc.net>
|
||||
|
||||
* vm_eval.c (vm_call0_cfunc_with_frame): pass method id to
|
||||
|
|
|
@ -2379,6 +2379,7 @@ InitVM_Enumerator(void)
|
|||
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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue