RubyGems Navigation menu

predicateable 0.1.1

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.

Gemfile:
=

install:
=

Versions:

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

Development Dependencies (4):

minitest ~> 5.22
rake ~> 13.0
rbs ~> 3.9
steep ~> 1.10

Owners:

Pushed by:

Authors:

  • Naoki Nishiguchi

SHA 256 checksum:

=

Total downloads 479

For this version 183

Version Released:

License:

MIT

Required Ruby Version: >= 3.1.0

Links: