SciRuby / iruby

Official gem repository: Ruby kernel for Jupyter/IPython Notebook
https://github.com/SciRuby/iruby
MIT License
890 stars 27 forks source link

Hooks around of execution #295

Closed mrkn closed 3 years ago

mrkn commented 3 years ago

The following four events are implemented in this pull request.

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.