LeanStruct builds plain Ruby Struct classes with type checks, optional and nullable attributes, nested structs and recursive to_h. A lightweight, dependency-free alternative to Dry::Struct for simple entities.

Required Ruby Version

>= 3.1

Authors

Serhii Ripchanskyi

Versions

  1. 0.1.0
    1. source

      1. 0.1.0 source September 30, 2026 (11.5 KB)

Pushed by

SHA 256 checksum