class Arbre::HTML::Tag
def build(*args)
def build(*args) super attributes = args.extract_options! self.content = args.first if args.first set_for_attribute(attributes.delete(:for)) attributes.each do |key, value| set_attribute(key, value) end end
def build(*args) super attributes = args.extract_options! self.content = args.first if args.first set_for_attribute(attributes.delete(:for)) attributes.each do |key, value| set_attribute(key, value) end end