summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-enum-lazy/mrblib/lazy.rb
AgeCommit message (Collapse)Author
2018-11-19Check method existence for Enumerators; fix #3920Yukihiro "Matz" Matsumoto
The issue #3920 was fixed but the fundamental flaw of lack of stack depth check along with fibers still remains, even though it's not easy to cause the issue. Use `MRB_GC_FIXED_ARENA` to avoid the issue for workaround. After this patch, `obj.to_enum` raises `ArgumentError` if the object does not respond to the enumerating method. This is incompatible to CRuby but I think this behavior is better and CRuby should be updated to behave like this.
2017-10-17Add `Comparable#uniq`; CRuby2.4Yukihiro "Matz" Matsumoto
2017-08-11Check method existence in `to_enum'; ref #3773Yukihiro "Matz" Matsumoto
2017-06-21use `unless` instead of `if not`.Yukihiro "Matz" Matsumoto
2016-11-30resolve conflict; ref #3306Yukihiro "Matz" Matsumoto
2016-11-30Change Lazy class outerksss
Lazy class should be under Enumerator instead of Enumerable
2016-11-30Implement Enumerable::Lazy#to_enum and enum_forksss
2015-10-21Revert "Mark core gems with mrbgem tag"Seba Gamboa
This reverts commit 5cdcce8dbddd94ecb9503a0a1d47370c4ef97177.
2015-10-20Mark core gems with mrbgem tagSeba Gamboa
2014-04-30remove trailing spacesNobuyoshi Nakada
2014-04-04add mruby-enum-lazy mrbgem for Enumerable::LazyYukihiro "Matz" Matsumoto