method
to_html
to_html()
public
Hide source
# File railties/builtin/rails_info/rails/info.rb, line 55 def to_html returning table = '<table>' do properties.each do |(name, value)| table << %(<tr><td class="name">#{CGI.escapeHTML(name.to_s)}</td>) table << %(<td class="value">#{CGI.escapeHTML(value.to_s)}</td></tr>) end table << '</table>' end end