Sha256: f1bf5f7b9c5cc1dda22db75a0bdd4c04be35e2c20f8357ebb4071e475bca406e

Contents?: true

Size: 361 Bytes

Versions: 2

Compression:

Stored size: 361 Bytes

Contents

# frozen_string_literal: true

class Scarpe
  class DocumentRoot < Scarpe::Widget
    include Scarpe::Background

    def initialize
      super

      create_display_widget
    end

    # This can be absolutely huge in console output, and it's frequently printed.
    def inspect
      "<Scarpe::DocumentRoot>"
    end

    alias_method :info, :puts
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
scarpe-0.2.1 lib/scarpe/document_root.rb
scarpe-0.2.0 lib/scarpe/document_root.rb