RubyGems Navigation menu

thyng 0.0.1

Thyng Ruby objects with public state to encourage storage as data only collections. What? A thyng is a ruby object with the convention of saving state in key:value pairs that are public on the object rather than in private instance variables. How? Instead of private attributes a thyng has public aspects. Basic access to these can be declared with asect_reader, aspect_write & aspect_accessor. Why? Will all internal state a thyng can be reconstructed completly from its data. This allows it to be passed as JSON a json object and easily be stored in a database.

Gemfile:
= Copy to clipboard Copied!

instalar:
=

Versões:

  1. 0.1.0 - November 24, 2014 (8,5 KB)
  2. 0.0.1 - November 24, 2014 (7,5 KB)

Development Dependencies (3):

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

Donos:

Autores:

  • Peter Saxton

SHA 256 checksum:

= Copy to clipboard Copied!

Total de downloads 5.451

Desta versão 2.215

Versão lançada:

Licença:

MIT

Versão Requerida do Ruby: >= 0

Links: