Jun Hiroe
|
ca1bc5290e
|
Add to_enum unless block
|
2014-03-28 18:54:25 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
fc51781402
|
Enumerable#cycle to return enumerator
|
2014-03-27 14:34:21 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
69b4842a03
|
call to_a at the top of Enumerabl#zip; ref #1961
|
2014-03-27 14:25:33 +09:00 |
|
Jun Hiroe
|
c2ad8098a5
|
Support multiple values in Enumerable#zip
|
2014-03-27 14:09:29 +09:00 |
|
Jun Hiroe
|
68695d174c
|
Add Enumerable#zip
|
2014-03-27 14:09:29 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
b042b951ce
|
Enumerable#find_index to support multiple values
|
2014-03-25 19:07:32 +09:00 |
|
Jun Hiroe
|
767ca3f76e
|
Enumerable#find_index
|
2014-03-25 16:14:19 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
896dc002ca
|
use to_int to integer duck-type check
|
2014-03-25 12:29:29 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
d7d54b6e69
|
Fix Enumerable#cycle; ref #1933
* add multi value support
* `each` method may not rewind the sequence so that `cycle` should save elements
|
2014-03-24 23:58:21 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
915b158e89
|
Merge pull request #1933 from suzukaze/add-enum.cycle
Add Enumerable#cycle
|
2014-03-24 23:49:01 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
aa5920aaae
|
Enumerable#reverse_each should not rely on mruby-array-ext gem
|
2014-03-24 23:44:23 +09:00 |
|
Jun Hiroe
|
381f126f1b
|
Add Enumerable#cycle
|
2014-03-24 20:24:23 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
c326ab877e
|
improve Enumerable#reverse_each to be efficient
|
2014-03-24 18:39:06 +09:00 |
|
Jun Hiroe
|
70bbe9a894
|
Add Enumerable#reverse_each
|
2014-03-24 18:03:37 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
53d6df3fdb
|
fix multiple value handling; ref #1931
|
2014-03-24 17:31:43 +09:00 |
|
Jun Hiroe
|
7e41e2ed0e
|
Enumerable#each_with_object
|
2014-03-24 16:26:23 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
75eed54bba
|
move conditional out of loop
|
2014-03-24 00:24:02 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
d05635e252
|
Enumerable#one? to prune iteration when count > 1; ref #1926
|
2014-03-24 00:13:37 +09:00 |
|
Jun Hiroe
|
919ca8f42b
|
Add Enumerable#one?
|
2014-03-23 23:47:03 +09:00 |
|
Jun Hiroe
|
d8d47b80c3
|
Support multiple values in Enumerable#none?
|
2014-03-23 13:06:18 +09:00 |
|
Jun Hiroe
|
1f709c1ef0
|
Add Enumerable#none?
|
2014-03-23 12:58:12 +09:00 |
|
Jun Hiroe
|
5b31ee9a2a
|
Suppoert multiple values in Enumerable#minmax_by
|
2014-03-23 11:48:46 +09:00 |
|
Jun Hiroe
|
776a680e89
|
Enumerable#minmax_by
|
2014-03-23 11:41:23 +09:00 |
|
Jun Hiroe
|
77291f3531
|
Support multiple values in Enumerable#minmax
|
2014-03-22 22:06:39 +09:00 |
|
Jun Hiroe
|
5027aaaf4e
|
Add Enumerable#minmax
|
2014-03-22 21:52:08 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
22d57105eb
|
add Enumerable#min_by as well; ref #1912
|
2014-03-22 16:55:47 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
04b5e705e0
|
wrap expr with paren
|
2014-03-22 16:54:54 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
ebb337b132
|
fix multiple value support of max_by; ref #1912
|
2014-03-22 16:47:56 +09:00 |
|
Jun Hiroe
|
5ef1021d88
|
Support mulitple values in Enumerable#max_by
|
2014-03-22 14:51:47 +09:00 |
|
Jun Hiroe
|
af7db89aa3
|
Add Enumerable#max_by
|
2014-03-22 14:51:45 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
c978fd7b35
|
should test Enumerable#first; close #1905
|
2014-03-21 23:33:59 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
07bd65ae65
|
flat_map to support multiple values; ref #1902
|
2014-03-21 13:35:39 +09:00 |
|
Jun Hiroe
|
44763ebc74
|
Add Enumerable#{flat_map,collect_concat}
|
2014-03-21 12:34:21 +09:00 |
|
Jun Hiroe
|
6cfc5795af
|
Add Enumerable#count comment
|
2014-03-21 00:44:00 +09:00 |
|
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
|
575d919122
|
should not use nil as default value for Enumerable#count since it prevent counting nil in enums; ref #1887
|
2014-03-18 23:50:31 +09:00 |
|
Jun Hiroe
|
17fdd81573
|
Add Enumerable#count test
|
2014-03-18 23:08:24 +09:00 |
|
Jun Hiroe
|
02ac5dd9f1
|
Add Enumerable#count
|
2014-03-18 23:06:01 +09:00 |
|
Jun Hiroe
|
0349283fab
|
Add Enumerable#first test
|
2014-03-18 00:30:31 +09:00 |
|
Jun Hiroe
|
7380acf1b6
|
Add Enumerable#sort_by test
|
2014-03-18 00:29:14 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
2abfeeafdb
|
Merge branch 'mrbgem_summary' of https://github.com/take-cheeze/mruby into take-cheeze-mrbgem_summary
|
2014-03-17 08:53:16 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
5ac737cf88
|
add Enumerable#sort_by
|
2014-03-17 01:09:07 +09:00 |
|
take_cheeze
|
c73f8d4def
|
move summary of mrbgems in default gembox to its spec
|
2014-03-17 00:34:24 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
55c1942b43
|
add Enumerable#first to mruby-enum-ext
|
2014-03-17 00:04:34 +09:00 |
|
Daniel Bovensiepen
|
f96c023279
|
Improve test of mruby-enum-ext GEM
|
2013-08-04 22:41:04 +08:00 |
|
Tomoyuki Sahara
|
116f75a8ce
|
"spec.author" is better for single-author gems.
"spec.author=" expects a String represents a single author.
"spec.authors=" expects an Array which is a list of multiple authors.
http://guides.rubygems.org/specification-reference/
|
2013-07-23 10:09:24 +09:00 |
|
skandhas
|
35bcc8f850
|
add Enumerable#group_by
|
2013-03-22 16:07:10 +08:00 |
|
skandhas
|
39a553d44e
|
add Enumerable#each_slice
|
2013-03-22 15:56:25 +08:00 |
|
skandhas
|
aacbc39b27
|
add Enumerable#each_cons
|
2013-03-22 15:43:30 +08:00 |
|
skandhas
|
854c61972f
|
fix spelling
|
2013-03-19 14:25:03 +08:00 |
|