Categories: None [Edit]

thyng

https://rubygems.org/gems/thyng
https://github.com/CrowdHailer/Thyng
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.

Total

Ranking: 115,055 of 182,853
Downloads: 5,478

Daily

Ranking: 70,646 of 182,840
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
12,369,448,980bundler
11942,744,578rake
19884,890,361minitest
117289,356,166bcrypt
99336,633,285minitest-reporters

Owners

#GravatarHandle
1iconCrowdHailer