Inspired by dry-initializer and virtus, portrayal is a minimalist gem that takes a somewhat different approach to building struct-like classes. It steps away from types, coersion, and writer methods in favor of encouraging well-designed constructors. Read more in the Philosophy section of the README.
Required Ruby Version
>= 2.4.0
Authors
Max Chernyak
Versions
-
0.9.1
-
source
- 0.9.1 source January 28, 2025 (20.5 KB)
-
-
0.9.0
-
source
- 0.9.0 source May 07, 2023 (20 KB)
-
-
0.8.0
-
source
- 0.8.0 source January 28, 2023 (17.5 KB)
-
-
0.7.1
-
source
- 0.7.1 source March 22, 2021 (17 KB)
-
-
0.7.0
-
source
- 0.7.0 source December 13, 2020 (16.5 KB)
-