We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fcf9432 commit 3390eecCopy full SHA for 3390eec
lib/iruby/utils.rb
@@ -9,6 +9,9 @@ def display(obj, options = {})
9
Kernel.instance.session.send(:publish, :display_data,
10
data: Display.display(obj, options),
11
metadata: {}) unless obj.nil?
12
+ # The next `nil` is necessary to prevent unintentional displaying
13
+ # the result of Session#send
14
+ nil
15
end
16
17
# Clear the output area
0 commit comments