method

to_html

v1.2.6 - Show latest stable - Class: Rails::Info
to_html()
public

No documentation available.

# File railties/builtin/rails_info/rails/info.rb, line 53
      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