Commit Graph

20 Commits

Author SHA1 Message Date
Yukihiro "Matz" Matsumoto 07d81a113d enum methods to support multiple values; all?, any?, grep, include?, drop, drop_while, take, take_while, each_cons, each_slice, group_by, first, count 2014-03-19 15:36:55 +09:00
Yukihiro "Matz" Matsumoto 2bf718faf8 Merge pull request #1882 from ksss/enum-find_all
Enumerable#find_all return Enumerator if non block given
2014-03-19 10:43:54 +09:00
ksss fd80d4ecdd Enumerable#find_all return Enumerator if non block given 2014-03-17 23:32:31 +09:00
ksss 9abe413530 Enumrable#each_with_index return Enumerator if non block given 2014-03-17 22:31:40 +09:00
Yukihiro "Matz" Matsumoto 26930ddc19 Merge branch 'refactor-enumerable.rb' of https://github.com/suzukaze/mruby into suzukaze-refactor-enumerable.rb 2014-03-17 08:45:05 +09:00
Jun Hiroe bdeef827ac Refactor Enumerable#include? 2014-03-17 01:18:45 +09:00
Jun Hiroe a21088b2d7 Refactor Enumerable#any? 2014-03-17 01:18:44 +09:00
Jun Hiroe b9632bce46 Refactor Enumerable#all? 2014-03-17 01:18:44 +09:00
Yukihiro "Matz" Matsumoto 5ac737cf88 add Enumerable#sort_by 2014-03-17 01:09:07 +09:00
Yukihiro "Matz" Matsumoto 027d6407cc make Enumerable methods to support multiple values; collect, detect, each_with_index, find_all, inject, max, min, partition, reject, sort 2014-03-17 00:53:08 +09:00
Yukihiro "Matz" Matsumoto ed2fe64076 Enumerable#entries to support multiple values; close #1868 2014-03-17 00:34:47 +09:00
Yukihiro "Matz" Matsumoto 113ab60784 mruby-enumerator: move definitions in core_mod.rb to mrblib core 2014-03-14 02:41:22 +09:00
Yukihiro "Matz" Matsumoto c7cff199dc hash value of enumerable should be obtained from its elements; close #1658 2014-01-16 21:33:48 +09:00
Masaki Muranaka 6cd7017ec1 Remove trailing whitespaces. This is just a cosmetic change. 2013-03-03 10:54:00 +09:00
Yukihiro Matsumoto 3efbea3fab wrong check of argument numbers 2012-10-19 21:44:58 +09:00
Yukihiro Matsumoto 17278e8ca6 add symbol style to Enumerable#inject 2012-10-19 21:16:18 +09:00
Yukihiro Matsumoto fd949663d2 Enumerable#inject should handle empty enumerable; http://www.tbn.co.jp/blog/?p=813 2012-10-19 21:09:34 +09:00
Yukihiro Matsumoto bd8d910666 clean enum.c 2012-05-09 22:09:27 +09:00
Daniel Bovensiepen ac21975494 Add documentation to Enumerable 2012-05-03 17:46:23 +08:00
mimaki e0d6430f63 add mruby sources 2012-04-20 09:39:03 +09:00