diff options
| author | KOBAYASHI Shuji <[email protected]> | 2019-09-17 09:28:51 +0900 |
|---|---|---|
| committer | KOBAYASHI Shuji <[email protected]> | 2019-09-17 09:28:51 +0900 |
| commit | 2f7175442fffecc1139312e9e1055ba37ba8527d (patch) | |
| tree | 66113aeab85e24fac20474df35af5ea6b5022ce6 /mrbgems/mruby-enum-ext | |
| parent | 2f9b1fdb0c6ec4835b66b26db52ef7b98b9554b8 (diff) | |
| download | mruby-2f7175442fffecc1139312e9e1055ba37ba8527d.tar.gz mruby-2f7175442fffecc1139312e9e1055ba37ba8527d.zip | |
Fix `Fixnum#(to_s|inspect)` argument specs
Before this patch:
$ bin/mruby -e 'p 3.to_s(2)'
trace (most recent call last):
[0] -e:1
-e:1: 'to_s': wrong number of arguments (1 for 0) (ArgumentError)
After this patch:
$ bin/mruby -e 'p 3.to_s(2)'
"11"
Diffstat (limited to 'mrbgems/mruby-enum-ext')
0 files changed, 0 insertions, 0 deletions
