Method: Ambit::Generator#trace
- Defined in:
- lib/ambit.rb
#trace(lvl = false) ⇒ Object
Turn on tracing (to standard error) of Ambit operations
The optional level argument sets the verbosity – if not passed, each call to this method increases verbosity
30 31 32 33 34 35 36 |
# File 'lib/ambit.rb', line 30 def trace lvl=false if lvl @trace = lvl else @trace = @trace + 1 end end |