class Nested

Appends compiled html for nested rule to the output. elements is the tag statement, elements is any nested html.

Public Instance Methods

to_html(context) click to toggle source
# File lib/emerald/nodes/nested.rb, line 12
def to_html(context)
  elements[0].opening_tag(context) +
    elements[4].to_html(context) +
    elements[0].closing_tag(context)
end