Sha256: 434cefcfcd4b868b10b845636eb1f5a325800a5370473358a1884577dd89f0e9
Contents?: true
Size: 368 Bytes
Versions: 4
Compression:
Stored size: 368 Bytes
Contents
module Kernel # dump object through exception message def dd(dump) DebugExtras::Dumper.new(dump, 'debug-dd').render do |message| raise DebugExtras::DebugData, message end end # print on the html page like php def wp(message) $debug_extras_messages ||= [] unless message.blank? $debug_extras_messages << message end end end
Version data entries
4 entries across 4 versions & 1 rubygems