summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-proc-ext/mrblib
AgeCommit message (Collapse)Author
2021-11-28Align "wrong number of arguments" messagesdearblue
Make "N for M" into the form "given N, expected M". As I worked, I noticed that the `argnum_error()` function had a part to include the method name in the message. I think this part is no longer needed by https://github.com/mruby/mruby/pull/5394. - Before this patch ```console % bin/mruby -e '[1, 2, 3].each 0' trace (most recent call last): [1] -e:1 -e:1:in each: 'each': wrong number of arguments (1 for 0) (ArgumentError) ``` - After this patch ```console % bin/mruby -e '[1, 2, 3].each 0' trace (most recent call last): [1] -e:1 -e:1:in each: wrong number of arguments (given 1, expected 0) (ArgumentError) ```
2021-11-24Fixed some methods where keyword arguments are not passeddearblue
2019-01-03Add proc composition feature (CRuby-2.6 compatible)dearblue
- Proc#<< and Proc#>> - Method#<< and Method#>>
2018-09-01Use `__send__` instead of `send`.Yukihiro "Matz" Matsumoto
2015-06-22Proc#curry should preserve lambdascremno
2013-04-17Add mruby-proc-exth2so5