Create Ruby objects with public state to encourage their storage as data only collections. Instead of private attributes a thyng has public aspects. Basic access to these can be declared with asect_reader, aspect_write & aspect_accessor. Thyng is a subclass of a plain Ruby Hash allowing merging, filtering etc of the objects aspects. With all state external a thyng can be reconstructed completly from its data. This allows it to be passed as JSON or easily stored in a database.

Required Ruby Version

>= 0

Authors

Peter Saxton

Versions

  1. 0.1.0
    1. source

      1. 0.1.0 source November 24, 2014 (8.5 KB)
  2. 0.0.1
    1. source

      1. 0.0.1 source November 24, 2014 (7.5 KB)

SHA 256 checksum