# File lib/cgikit.rb, line 1166 def to_s if @attr_file then resource = application.resource || application.baseurl @attr_src = File.join( resource, @attr_file ) end to_s = '<img' if @attr_src then to_s << " src=\"#@attr_src\"" end if @attr_alt then to_s << " alt=\"#@attr_alt\"" end if @attr_border then to_s << " border=\"#@attr_border\"" end to_s << '>' end