Structure is a better Struct and does wonders when modeling ephemeral data fed in from an API. It typecasts values, works with ORM-esque association idioms, dumps good-looking JSON, and loads the same JSON seamlessly back into Ruby.
Required Ruby Version
None
Authors
Paper Cavalier
Versions
- 4.4.0 February 27, 2026 (12.5 KB)
- 4.3.0 December 02, 2025 (11 KB)
- 4.2.0 October 16, 2025 (11 KB)
- 4.1.0 October 09, 2025 (9.5 KB)
- 4.0.0 September 30, 2025 (9 KB)
- 0.5.0 May 27, 2011 (9 KB)