Sha256: 2b2daca39b905c2c83321d145657a4eeea3a60328cf504db0a29a56ada05cfb6

Contents?: true

Size: 258 Bytes

Versions: 1

Compression:

Stored size: 258 Bytes

Contents

require 'ostruct'

require File.join(File.dirname(__FILE__), "mostash", "mostash")

def dbg( msg )
  file, line, method_raw = caller[0].split('/').last.split(':')
  method = method_raw.match(/^in `(.+)'/)[1] 
  puts "#{method} (#{file}##{line}): #{msg}"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mostash-0.0.2 lib/mostash.rb