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: 117,850 of 188,645
Downloads: 5,888

Daily

Ranking: 115,123 of 188,635
Downloads: 1

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,096,027,797bundler
101,194,085,295rake
141,118,030,738minitest
117360,211,631bcrypt
1,00046,287,450minitest-reporters

Owners

#GravatarHandle
1iconCrowdHailer