ccocchi / rabl-rails

Rails 4.2+ templating system with JSON, XML and Plist support.
MIT License
208 stars 51 forks source link

Super simple Ruby renderer. #45

Closed mull closed 9 years ago

mull commented 11 years ago

Implemented a very super simple Ruby rendered because of #44. I copied the tests from the JSON Render, though in all honesty maybe there only needs to be 1 test confirming that it actually works and doesn't throw an exception?

Let me know!

ccocchi commented 9 years ago

You can know use the :ruby format from v0.4.1 to render templates as a Ruby hash.