Having to validate method parameters and/or the result of method is a quite common and repetitive task. Tchae is an attempt to capture this task in a small yet generic reuseable library. Tchae provides validated variants of the standard define_method ruby methods , that will create the same method as the standard would create wrapped into validation code.
Required Ruby Version
>= 2.4.0
Authors
D.M.