Sha256: da776ad1be1f890c3cd9adc80730540af319bd096dbcc98f24d72635ad014635
Contents?: true
Size: 385 Bytes
Versions: 4
Compression:
Stored size: 385 Bytes
Contents
module Mack module ViewHelpers # :nodoc: module ObjectHelpers # 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. def debug(obj) "<pre>#{pp_to_s(obj).gsub('<', '<')}</pre>" end end # ObjectHelpers end # ViewHelpers end # Mack
Version data entries
4 entries across 4 versions & 1 rubygems