class Attributes

The attributes hash for an element

Public Instance Methods

to_html(context) click to toggle source
# File lib/emerald/nodes/attributes.rb, line 9
def to_html(context)
  output = ''
  elements.each do |e|
    output += " #{e.elements[0].text_value}=\"#{e.elements[2].to_html(context)}\""
  end
  output
end