Sha256: 864e39b8ff26f2263bf2a3107f2af6574cb1f9661f5eb5ecd9e5313d92122278
Contents?: true
Size: 276 Bytes
Versions: 3
Compression:
Stored size: 276 Bytes
Contents
require 'ostruct' require File.join(File.dirname(__FILE__), "mostash", "mostash") 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
mostash-0.0.5 | lib/mostash.rb |
mostash-0.0.4 | lib/mostash.rb |
mostash-0.0.3 | lib/mostash.rb |