Sha256: d0bcd149c35b78e95aee98ce64b89b6e892c5c6b762fe62a616f8580d74050ac
Contents?: true
Size: 367 Bytes
Versions: 8
Compression:
Stored size: 367 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)}</pre>" end end # ObjectHelpers end # ViewHelpers end # Mack
Version data entries
8 entries across 8 versions & 1 rubygems