class Slim::Embedded::ERBEngine
ERB engine (uses the Temple ERB implementation)
Public Instance Methods
on_slim_embedded(engine, body)
click to toggle source
# File lib/slim/embedded.rb, line 195 def on_slim_embedded(engine, body) [:multi, [:newline], erb_parser.call(collect_text(body))] end
Protected Instance Methods
erb_parser()
click to toggle source
# File lib/slim/embedded.rb, line 201 def erb_parser @erb_parser ||= Temple::ERB::Parser.new end