Sha256: 103517528ea86dd2987790b0a3416dd6057304dd38d81133e24d43b24202229d
Contents?: true
Size: 922 Bytes
Versions: 1
Compression:
Stored size: 922 Bytes
Contents
# SanfordRabl Sanford [template engine](https://github.com/redding/sanford) for rendering Rabl templates ## Usage Register the engine: ```ruby # in config/services.rb or wherever require 'sanford' require 'sanford-rabl' Sanford.configure do |c| c.template_source "/path/to/templates") do |s| s.engine 'rabl', Sanford::Rabl::TemplateEngine end end ``` Add `.rabl` to any template files in your template source path. Sanford will render their content using Rabl when they are rendered. ## Installation Add this line to your application's Gemfile: gem 'sanford-rabl' And then execute: $ bundle Or install it yourself as: $ gem install sanford-rabl ## Contributing 1. Fork it 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Added some feature'`) 4. Push to the branch (`git push origin my-new-feature`) 5. Create new Pull Request
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sanford-rabl-0.0.1 | README.md |