Praxis Blueprints is a library that allows for defining a reusable class structures that has a set of typed attributes and a set of views with which to render them. Instantiations of Blueprints resemble ruby Structs which respond to methods of the attribute names. Rendering is format-agnostic in that it results in a structured hash instead of an encoded string. Blueprints can automatically generate object structures that follow the attribute definitions.
Add this line to your application's Gemfile:
And then execute:
Or install it yourself as:
$ gem install praxis-blueprints
Documentation coming soon.
- Fork it ( https://github.com/[my-github-username]/praxis-blueprints/fork )
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Add some feature')
- Push to the branch (
git push origin my-new-feature)
- Create a new Pull Request
Copyright (c) 2014 RightScale