SciRuby / iruby

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

Enables developers to determine how objects are displayed. #262

Open kojix2 opened 4 years ago

kojix2 commented 4 years ago

Currently, IRuby guesses the best supported mime for the last object in the cell.

This method works well for most objects. However, developers cannot specify how objects are displayed in IRuby. Developers can implement to_iruby method. But this is not always sufficient.