Skip to content

Commit

Permalink
Merge pull request #220 from kojix2/kojix2-patch6
Browse files Browse the repository at this point in the history
add clear_output to Utils
  • Loading branch information
mrkn authored Aug 19, 2019
2 parents db8c824 + f661d19 commit b8502e3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/iruby/utils.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ def display(obj, options = {})
metadata: {}) unless obj.nil?
end

def clear_output(wait=false)
Display.clear_output(wait)
end

def table(s, **options)
html(HTML.table(s, options))
end
Expand Down

0 comments on commit b8502e3

Please sign in to comment.