Arity check option available
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
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