SwifterEnum transforms Rails enums from simple values into powerful objects with methods, computed properties, and type safety. Your enums become smart: payment_status.can_refund?, subscription.price, status.icon - all while maintaining 100% Rails enum compatibility. Drop-in replacement that eliminates scattered helper methods and case statements throughout your codebase.
Required Ruby Version
>= 3.2.0
Authors
Rob Jonson
Versions
- 1.1.1 September 16, 2025 (15.5 KB)
- 1.1.0 September 16, 2025 (13.5 KB)
- 1.0.0 June 17, 2025 (13 KB)
- 0.9.7 April 12, 2025 (13 KB)
- 0.9.6 September 04, 2024 (10.5 KB)