h1 This #{foo} is here.
require 'slim' foo = "bar" template_path = "templates/file.slim" template = Slim::Template.new(template_path).render(Object.new, :foo => foo)