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

Versions

  1. 0.2.0 December 27, 2025 (6.5 KB)
  2. 0.1.1 August 27, 2025 (6.5 KB)
  3. 0.1.0 June 07, 2025 (6.5 KB)

Pushed by

SHA 256 checksum