Sha256: f87cdfab31ef97834aa8bff82684981a9029ebd726fafa7b0877112e9f4a7457
Contents?: true
Size: 936 Bytes
Versions: 1
Compression:
Stored size: 936 Bytes
Contents
# Dassets::Erb Dassets [engine](https://github.com/redding/dassets#compiling) for compiling dynamic assets written in Erb. ## Usage Register the engine: ```ruby # in config/assets.rb require 'dassets' require 'dassets-erb' Dassets.configure do |c| c.source "/path/to/assets") do |s| s.engine 'erb', Dassets::Erb::Engine end end ``` Add `.erb` to any source files in your source path. Dassets will compile their content using Erb, remove the `.erb` extension, and write the output to the output path. ## Installation Add this line to your application's Gemfile: gem 'dassets-erb' And then execute: $ bundle Or install it yourself as: $ gem install dassets-erb ## 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 |
---|---|
dassets-erb-0.2.0 | README.md |