Skip to content

Arity check option available

Compare
Choose a tag to compare
@bluegod bluegod released this 06 Sep 18:34
· 7 commits to master since this release

Added option to specify the expected method arity:

must_implement :method_name:1 will expect method_name to be defined and have exactly 1 method parameter.

Thanks @rodrigo-ehresmann for the contribution - #1