Sha256: 209700243c38298a0a332ef43761d0e1ae7e73e8f9ef51016fe69f73d04d254b
Contents?: true
Size: 649 Bytes
Versions: 22
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 # 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 # @macro defaults_method def defaults super.merge!(value: Vedeu.esc.horizontal) end end # Horizontal end # Cells end # Vedeu
Version data entries
22 entries across 22 versions & 1 rubygems