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

  1. 4.4.0 February 27, 2026 (12.5 KB)
  2. 4.3.0 December 02, 2025 (11 KB)
  3. 4.2.0 October 16, 2025 (11 KB)
  4. 4.1.0 October 09, 2025 (9.5 KB)
  5. 4.0.0 September 30, 2025 (9 KB)
  6. 0.6.0 May 28, 2011 (9 KB)
Show all versions (88 total)

SHA 256 checksum