Sha256: 9ba82e4ea201284c00b599d24a3d007d103410740eddb556774a94a1f9215258
Contents?: true
Size: 608 Bytes
Versions: 1
Compression:
Stored size: 608 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 text '-' end # @return [Symbol] def type :horizontal end private # @return [Hash<Symbol => String>] def defaults super.merge!(value: Vedeu::EscapeSequences::Borders.horizontal) end end # Horizontal end # Cells end # Vedeu
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
vedeu-0.8.1 | lib/vedeu/cells/borders/horizontal.rb |