class With

Isolates the scope to a subset of the context

Public Instance Methods

to_html(body, context) click to toggle source
# File lib/emerald/nodes/with.rb, line 9
def to_html(body, context)
  var = elements[2].content(context)

  body.to_html(var)
end