diff --git a/lib/iruby/utils.rb b/lib/iruby/utils.rb index 69a8cb7..8c46f5e 100644 --- a/lib/iruby/utils.rb +++ b/lib/iruby/utils.rb @@ -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