Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 1.13 KB

File metadata and controls

39 lines (25 loc) · 1.13 KB

irb_kernel

PyPI version shields.io

A Jupyter wrapper kernel for irb (REPL for Ruby programming language)

The code in this project is almost same as bash_kernel. Many thanks to the bash_kernel project.

To Try irb_kernel without installing, click the binder badge and open the irb_kernel_test.ipynb file.

To install:

sudo apt install ruby
pip install irb_kernel
python -m irb_kernel.install

To use it, run one of:

jupyter notebook
# In the notebook interface, select Irb from the 'New' menu
jupyter console --kernel irb

For details of how this works, see the Jupyter docs on wrapper kernels, and Pexpect's docs on the replwrap module