When using the class method `attributes` in a class you get: - an initialize method with attributes as kwd params and the respective defaults - immutable instances - a to_h method using all attributes - an update method to create new imutable instances - a destruct_keys method aliased to to_h for pattern matching
Required Ruby Version
>= 4.0.1
Authors
Robert Dober
Versions
-
0.5.1
-
source
- 0.5.1 source November 03, 2026 (18.5 KB)
-
-
0.5.0
-
source
- 0.5.0 source November 03, 2026 (18.5 KB)
-
-
0.4.3
-
source
- 0.4.3 source November 03, 2026 (18.5 KB)
-
-
0.4.2
-
source
- 0.4.2 source November 02, 2026 (18.5 KB)
-
-
0.4.1
-
source
- 0.4.1 source November 02, 2026 (18.5 KB)
-