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 add_id_to_attributes(attributes)
    id = attributes['id'] ||= "id#{@binding_number}"
    @binding_number += 1
    return id.to_s
  end
def add_id_to_attributes ( attributes ) id = attributes [ 'id' ] ||= "id#{@binding_number}" @binding_number += 1 return id . to_s end
Take the attributes and create any bindings
Take the attributes and create any bindings
attributes