Class: PythonTracer
- Inherits:
-
Object
- Object
- PythonTracer
- Defined in:
- lib/python_tracer.rb
Instance Method Summary collapse
Instance Method Details
#trace(code) ⇒ Object
4 5 6 7 8 9 10 11 |
# File 'lib/python_tracer.rb', line 4 def trace(code) code = strip_comments(code) find_funcs(code) .map { |func| define_func(func, code) } rescue => e byebug [] end |