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