Sha256: 991b9c5ca66abfa6d5c059b2730bf58719b3a8859d5cdb7653bd605de64fce26
Contents?: true
Size: 639 Bytes
Versions: 22
Compression:
Stored size: 639 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 # @macro defaults_method def defaults super.merge!(value: Vedeu.esc.vertical) end end # Vertical end # Cells end # Vedeu
Version data entries
22 entries across 22 versions & 1 rubygems
Version | Path |
---|---|
vedeu-0.8.12 | lib/vedeu/cells/borders/vertical.rb |
vedeu-0.8.10 | lib/vedeu/cells/borders/vertical.rb |