lib/volt/server/html_parser/attribute_scope.rb
# Take the attributes and create any bindings
Take the attributes and create any bindings
Take the attributes and create any bindings
def attribute_string(attributes)
    attr_str = attributes.map {|v| "#{v[0]}=\"#{v[1]}\"" }.join(' ')
    if attr_str.size > 0
      attr_str = " " + attr_str
    end
    return attr_str
  end
def attribute_string ( attributes ) attr_str = attributes . map { | v | "#{v[0]}=\"#{v[1]}\"" } . join ( ' ' ) if attr_str . size > 0 attr_str = " " + attr_str end return attr_str end
Take the attributes and create any bindings
Take the attributes and create any bindings
# extra space
attributes