class Haml::AttributeCompiler
def runtime_compile(node)
def runtime_compile(node) attrs = [] attrs.unshift(node.value[:attributes].inspect) if node.value[:attributes] != {} args = [ @escape_attrs.inspect, "#{@quote.inspect}.freeze", @format.inspect, '::Haml::AttributeBuilder::BOOLEAN_ATTRIBUTES', node.value[:object_ref], ] + attrs [:html, :attrs, [:dynamic, "::Haml::AttributeBuilder.build(#{args.join(', ')}, #{node.value[:dynamic_attributes].to_literal})"]] end