Runs the content through [Erubis](www.kuwata-lab.com/erubis/). This method takes no options.
@param [String] content The content to filter
@return [String] The filtered content
# File lib/nanoc3/filters/erubis.rb, line 11 def run(content, params={}) require 'erubis' # Create context context = ::Nanoc3::Context.new(assigns) # Get result ::Erubis::Eruby.new(content, :filename => filename).result(context.get_binding { assigns[:content] }) end
Generated with the Darkfish Rdoc Generator 2.