mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
f0eaf9eaf5
From the CRuby 2.2.2 Proc#arity documentation: If the block has optional arguments, returns -n-1, where n is the number of mandatory arguments, with the exception for blocks that are not lambdas and have only a finite number of optional arguments; in this latter case, returns n.
Running Tests
To run the tests, execute the following from the project's root directory.
$ make test