Sha256: 6e5434a960a16905abb2f68e183073fd3fc463c231bbae85a4878da7adeb12b7
Contents?: true
Size: 1.07 KB
Versions: 2
Compression:
Stored size: 1.07 KB
Contents
# Dassets::Erb Dassets [engine](https://github.com/redding/dassets#compiling) to compile dynamic asset files written with ERB. See [Dassets::Erubi](https://github.com/redding/dassets-erubi) for a clone that uses [Erubi](https://github.com/jeremyevans/erubi) to do the compilation. ## 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
dassets-erb-0.3.1 | README.md |
dassets-erb-0.3.0 | README.md |