Sha256: b9052c56fa1b768f69fed39f86067774221fc0e8a73b094fd2467cf150070c1a
Contents?: true
Size: 586 Bytes
Versions: 1
Compression:
Stored size: 586 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.esc.horizontal) end end # Horizontal end # Cells end # Vedeu
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
vedeu-0.8.2 | lib/vedeu/cells/borders/horizontal.rb |