Sha256: b50bd30d8dc80b6f6662eeb4b798f9ad5a0676720e2fc33291967be50bf90fb3
Contents?: true
Size: 619 Bytes
Versions: 21
Compression:
Stored size: 619 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::Char object represents an alpha-numeric # character. # # @api private # class Char < Vedeu::Cells::Empty # @return [String] def as_html return value if present?(value) super end # @return [String] def text @value || ' ' end # @return [Symbol] def type :char end end # Char end # Cells end # Vedeu
Version data entries
21 entries across 21 versions & 1 rubygems