Flowdock
method

set_get_line_procs

Importance_1
set_get_line_procs(file_name, p = proc) public

Register an event handler p which is called everytime a line in file_name is executed.

Example:

Tracer.set_get_line_procs("example.rb", lambda { |line|
  puts "line number executed is #{line}"
})
Show source
Register or log in to add new notes.