diff options
| author | dearblue <[email protected]> | 2018-03-04 23:48:45 +0900 |
|---|---|---|
| committer | dearblue <[email protected]> | 2018-03-04 23:48:45 +0900 |
| commit | a5ac49de3038955732d9d06271a5df9175e86669 (patch) | |
| tree | a593c75a948f7abe39d54a036f0a2f56c86c73e5 /include/mruby.h | |
| parent | 2ce6d23db628df3eef3a5bda0091768bccdbe9cd (diff) | |
| download | mruby-a5ac49de3038955732d9d06271a5df9175e86669.tar.gz mruby-a5ac49de3038955732d9d06271a5df9175e86669.zip | |
fix && to &! in mrb_get_args()
Diffstat (limited to 'include/mruby.h')
| -rw-r--r-- | include/mruby.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mruby.h b/include/mruby.h index 8fc2721b1..3e13050b6 100644 --- a/include/mruby.h +++ b/include/mruby.h @@ -843,7 +843,7 @@ MRB_API struct RClass * mrb_define_module_under(mrb_state *mrb, struct RClass *o * | `i` | {Integer} | {mrb_int} | | * | `b` | boolean | {mrb_bool} | | * | `n` | {Symbol} | {mrb_sym} | | - * | `&` | block | {mrb_value} | when && gives raised exception if no block given. | + * | `&` | block | {mrb_value} | when &! gives raised exception if no block given. | * | `*` | rest arguments | {mrb_value} *, {mrb_int} | Receive the rest of arguments as an array. | * | | | optional | | After this spec following specs would be optional. | * | `?` | optional given | {mrb_bool} | `TRUE` if preceding argument is given. Used to check optional argument is given. | |
