Useful for debugging objects in views. Just pass it an object and will grap the pretty print of the inspect and wrap it in HTML pre tags.
[Source]
# File lib/mack/view_helpers/object_helpers.rb, line 8 8: def debug(obj) 9: "<pre>#{pp_to_s(obj).gsub('<', '<')}</pre>" 10: end
[Validate]