Predicateable allows you to define predicate methods (like `admin?`) based on a method that returns a Symbol. Similar to Rails enums, with optional strict checking and prefix support.
Required Ruby Version
>= 3.2.0
Authors
Naoki Nishiguchi
Predicateable allows you to define predicate methods (like `admin?`) based on a method that returns a Symbol. Similar to Rails enums, with optional strict checking and prefix support.
>= 3.2.0
Naoki Nishiguchi