Sha256: b8e599b558070dcb8372ecb4b62ebb6126b5ccf4282eda60994f341da7c38ddf

Contents?: true

Size: 266 Bytes

Versions: 8

Compression:

Stored size: 266 Bytes

Contents

module CutePrint
  class TermWidth

    # A terminal width with a fixed value
    # @api private
    class Static

      attr_reader :width

      def initialize(width)
        @width = width
      end

      def visible
        @width
      end

    end

  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
cute_print-1.4.0 lib/cute_print/term_width/static.rb
cute_print-1.3.0 lib/cute_print/term_width/static.rb
cute_print-1.2.0 lib/cute_print/term_width/static.rb
cute_print-1.1.4 lib/cute_print/term_width/static.rb
cute_print-1.1.3 lib/cute_print/term_width/static.rb
cute_print-1.1.2 lib/cute_print/term_width/static.rb
cute_print-1.1.1 lib/cute_print/term_width/static.rb
cute_print-1.1.0 lib/cute_print/term_width/static.rb