# File lib/cgikit.rb, line 2811 def to_s to_s = "<input type=\"checkbox\" name=\"#@attr_name\"" to_s << %' value="#{@attr_value || 1}"' if @attr_checked then to_s << " checked" end to_s << other_attributes_string to_s << '>' end