Sha256: 681f0f6a55f3a15f575c6f5266340701908bbe0aecf229759e5dcc60de26da25
Contents?: true
Size: 649 Bytes
Versions: 7
Compression:
Stored size: 649 Bytes
Contents
# frozen_string_literal: true module Vedeu module Cells # Provides the character/escape sequence to draw one cell of a # vertical border with a custom value, colour and style. # # @api private # class Vertical < Vedeu::Cells::Border # @return [String] def as_html '│' end # @return [String] def text '|' end # @return [Symbol] def type :vertical end private # @return [Hash<Symbol => String>] def defaults super.merge!(value: Vedeu.esc.vertical) end end # Vertical end # Cells end # Vedeu
Version data entries
7 entries across 7 versions & 1 rubygems