diff options
| author | dearblue <[email protected]> | 2018-03-04 22:23:47 +0900 |
|---|---|---|
| committer | dearblue <[email protected]> | 2018-03-04 22:23:47 +0900 |
| commit | 2ce6d23db628df3eef3a5bda0091768bccdbe9cd (patch) | |
| tree | 92158d41280e8c3eb6b49fece909564c25a53cf0 /include | |
| parent | 10f28fc82d497233a4d60b0b3e2800cb3a6e2e9c (diff) | |
| download | mruby-2ce6d23db628df3eef3a5bda0091768bccdbe9cd.tar.gz mruby-2ce6d23db628df3eef3a5bda0091768bccdbe9cd.zip | |
add forced block arguments feature to mrb_get_args
Diffstat (limited to 'include')
| -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 ab6b5b3d6..8fc2721b1 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} | | + * | `&` | 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. | |
