Sha256: df1e0faa02132fcbab69b950f2acdd1b3b1c79792597d9c2632b5c4605af0da1

Contents?: true

Size: 542 Bytes

Versions: 21

Compression:

Stored size: 542 Bytes

Contents

# frozen_string_literal: true

module Vedeu

  module Cells

    # Provides the character/escape sequence to draw one cell of a
    # with a custom value, colour and style.
    #
    # The Vedeu::Cells::Clear object represents a cleared cell using
    # the space character.
    #
    # @api private
    #
    class Clear < Vedeu::Cells::Empty

      # @return [Symbol]
      def type
        :clear
      end

      # @return [String]
      def value
        ' '
      end
      alias text value

    end # Clear

  end # Cells

end # Vedeu

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
vedeu-0.8.12 lib/vedeu/cells/clear.rb