crnixon/diametric — pull request #8 by rkneufeld (2012-11-09 02:15:53+00:00)
Title: Store attributes as a hash instead of a triplet

I propose we make a simple change where attributes are stored as a hash instead of as an array of triplets.

The main purpose served here is ease of iteration of the collection of attributes and their properties. In adding `:cardinality/many` I'm finding the need to write really nasty code just to iterate over the set of attributes and I believe my code would be made a lot more clear by storing/accessing attributes as a hash instead of an array.