class Haml::AttributeCompiler

def attr_literal(attr)

Parameters:
  • attr (Haml::AttributeCompiler::AttributeValue) --
def attr_literal(attr)
  case attr.type
  when :static
    to_literal(attr.value)
  when :dynamic
    attr.value
  end
end