Sha256: c316e75c7640b2f6a5fe45fe8b49c7bf313ccf70db7fa5938395cc0476219f15
Contents?: true
Size: 446 Bytes
Versions: 2
Compression:
Stored size: 446 Bytes
Contents
def s trace = '' m = caller[0][/`([^']*)'/, 1] if "#{self.class}" == "Class" trace = "-- s - #{self}::#{m}() --- " else trace = "-- s - #{self.class}.#{m}() --- " end puts trace if TRACE_APP end def f trace = '' m = caller[0][/`([^']*)'/, 1] if "#{self.class}" == "Class" trace = "-- f - #{self}::#{m}() --- " else trace = "-- f - #{self.class}.#{m}() --- " end puts trace if TRACE_APP end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rcli-0.1.2 | lib/core/tracer.rb |
rcli-0.1.0 | lib/core/tracer.rb |