# File lib/ap/mixin/action_view.rb, line 21 def ap_debug(object, options = {}) formatted = h(object.ai(options)) unless options[:plain] self.class::AP_ANSI_TO_HTML.each do |key, value| formatted.gsub!(key, %Q|<font color="#{value}">|) end formatted.gsub!("\033[0m", "</font>") end content_tag(:pre, formatted, :class => "debug_dump") end