Sha256: d7aacbef9ce72257fa3eb08a02f4b762e9b8356c54397771752387b611d56c0f
Contents?: true
Size: 243 Bytes
Versions: 62
Compression:
Stored size: 243 Bytes
Contents
module Kernel def dbg(*args) puts "---DEBUG---" args.each do |a| if a.is_a?(String) && a =~ /\n/ puts %("""\n) + a + %(\n"""\n) else p a end end puts "-----------" args.first end end
Version data entries
62 entries across 62 versions & 1 rubygems