Skip to content

Commit a4d8e11

Browse files
committed
Ignore nil returned from to_iruby
1 parent 079f86b commit a4d8e11

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/iruby/display.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ def display(obj, options = {})
5858
case mime
5959
when nil # to_iruby
6060
case result
61+
when nil
62+
# do nothing
63+
next
6164
when Array
6265
mime, result = result
6366
else

0 commit comments

Comments
 (0)