Class | Nanoc::Filters::ERB |
In: |
lib/nanoc/filters/erb.rb
|
Parent: | Nanoc::Filter |
Runs the content through [ERB](ruby-doc.org/stdlib/libdoc/erb/rdoc/classes/ERB.html).
@param [String] content The content to filter
@option params [Integer] safe_level (nil) The safe level (`$SAFE`) to
use while running this filter
@option params [String] trim_mode (nil) The trim mode to use
@return [String] The filtered content