Module: CheapoTracer
Constant Summary collapse
- RAP_METHOD_NAME =
:__trace__
Instance Method Summary collapse
Methods included from MuffDaddy
__rap_class__, __rap_method__, __rap_object__, extend_object, included
Instance Method Details
#__trace__ ⇒ Object
44 45 46 47 48 49 50 51 |
# File 'lib/muffdaddy.rb', line 44 def __trace__ @__trace = 0 unless defined? @__trace print " " * @__trace print "#{@__trace}: " @__trace += 1 yield @__trace -= 1 end |