RubyGems Navigation menu

thyng 0.1.0

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.

Gemfile:
= 複製 已複製

安裝:
=

版本列表:

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

Runtime 相依性套件 (1):

bcrypt ~> 3.1.7

Development 相依性套件 (4):

bundler ~> 1.7
minitest ~> 5.4.3
rake ~> 10.0

擁有者:

作者:

  • Peter Saxton

SHA 256 總和檢查碼:

= 複製 已複製

總下載次數 5,451

這個版本 3,236

版本发布:

授權:

MIT

Ruby 版本需求: >= 0

相關連結: