-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement hooks around of cell execution
The following four events are implemented in this commit. - `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.
- Loading branch information
Showing
2 changed files
with
86 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters