class Haml::AttributeCompiler

def merged_value(key, values)

Returns:
  • (String) -

Parameters:
  • values (Array) --
  • key (String) --
def merged_value(key, values)
  if values.size == 1
    values.first.to_literal
  else
    "::Haml::AttributeBuilder.merge_values(#{frozen_string(key)}, #{values.map(&:to_literal).join(', ')})"
  end
end