Sha256: f73465341bf7e2ad1366faaf853fce47e5cb7e28342977606882d64041068544

Contents?: true

Size: 249 Bytes

Versions: 3

Compression:

Stored size: 249 Bytes

Contents

require 'iruby/display'

module IRuby
  module Display
    unless self.respond_to?(:clear_output)
      def self.clear_output(wait=false)
        IRuby::Kernel.instance.session.send(:publish, :clear_output, {wait: wait})
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
daru-td-0.2.0 lib/daru/td/iruby/display.rb
daru-td-0.1.1 lib/daru/td/iruby/display.rb
daru-td-0.1.0 lib/daru/td/iruby/display.rb