The following four events are implemented in this pull request.
pre_execute -- occurred before every code execution
pre_run_cell -- occurred before every non-silent code execution
post_execute -- occurred after every code execution
post_run_cell -- occurred after every non-silent code execution
pre_execute and post_execute events do not take any argument. pre_run_cell event takes one argument, that is an IRuby::ExecutionInfo object. post_run_cell event takes one argument, that is the result of the code execution.
The following four events are implemented in this pull request.
pre_execute
-- occurred before every code executionpre_run_cell
-- occurred before every non-silent code executionpost_execute
-- occurred after every code executionpost_run_cell
-- occurred after every non-silent code executionpre_execute
andpost_execute
events do not take any argument.pre_run_cell
event takes one argument, that is anIRuby::ExecutionInfo
object.post_run_cell
event takes one argument, that is the result of the code execution.