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

Version Path
hobo_support-2.2.6 lib/hobo_support/kernel.rb
hobo_support-2.2.5 lib/hobo_support/kernel.rb
hobo_support-2.2.4 lib/hobo_support/kernel.rb
hobo_support-2.2.3 lib/hobo_support/kernel.rb
hobo_support-2.2.2 lib/hobo_support/kernel.rb
hobo_support-2.2.1 lib/hobo_support/kernel.rb
hobo_support-2.2.0 lib/hobo_support/kernel.rb
hobo_support-2.1.2 lib/hobo_support/kernel.rb
hobo_support-2.1.1 lib/hobo_support/kernel.rb
hobo_support-2.1.0 lib/hobo_support/kernel.rb
hobo_support-2.1.0.pre4 lib/hobo_support/kernel.rb
hobo_support-2.1.0.pre3 lib/hobo_support/kernel.rb
hobo_support-2.1.0.pre2 lib/hobo_support/kernel.rb
hobo_support-2.1.0.pre1 lib/hobo_support/kernel.rb
hobo_support-2.0.1 lib/hobo_support/kernel.rb
hobo_support-2.0.0 lib/hobo_support/kernel.rb
hobo_support-2.0.0.pre10 lib/hobo_support/kernel.rb
hobo_support-2.0.0.pre9 lib/hobo_support/kernel.rb
hobo_support-2.0.0.pre8 lib/hobo_support/kernel.rb
hobo_support-1.3.3 lib/hobo_support/kernel.rb