Sha256: acfb718d6bb26377c16dd7bff916fddc3f817abf3118c9273ecb3f0a3b9d9b9b
Contents?: true
Size: 628 Bytes
Versions: 1
Compression:
Stored size: 628 Bytes
Contents
# Structure [![travis](https://secure.travis-ci.org/hakanensari/structure.png)](http://travis-ci.org/hakanensari/structure) Structure is a typed, nestable key/value container. ## Usage Install and require the gem. require 'structure' Define a model. Document = Structure::Document class Person < Document key :name many :friends, :class_name => 'Person' end person = Person.create(:name => 'John') person.friends << Person.create(:name => 'Jane') person.friends.size # 1 Please see [the project page] [1] for more detailed info. [1]: http://code.papercavalier.com/structure/
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
structure-0.16.0 | README.md |