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

  1. 0.5.1
    1. source

      1. 0.5.1 source November 03, 2026 (18.5 KB)
  2. 0.5.0
    1. source

      1. 0.5.0 source November 03, 2026 (18.5 KB)
  3. 0.4.3
    1. source

      1. 0.4.3 source November 03, 2026 (18.5 KB)
  4. 0.4.2
    1. source

      1. 0.4.2 source November 02, 2026 (18.5 KB)
  5. 0.4.1
    1. source

      1. 0.4.1 source November 02, 2026 (18.5 KB)
Show all versions (19 total)

Pushed by

SHA 256 checksum