Sha256: 4a5ca4a37ab57d7cebc0403596c32e5c5fb0d3ea2846c31aa3683e5abb147860

Contents?: true

Size: 533 Bytes

Versions: 22

Compression:

Stored size: 533 Bytes

Contents

# frozen_string_literal: true

module Vedeu

  module Cells

    # Provides the character/escape sequence to draw one cell of the
    # top horizontal border with a custom value, colour and style.
    #
    # @api private
    #
    class TopHorizontal < Vedeu::Cells::Horizontal

      # @return [Symbol]
      def type
        :top_horizontal
      end

      private

      # @macro defaults_method
      def defaults
        super.merge!(value: Vedeu.esc.horizontal)
      end

    end # TopHorizontal

  end # Cells

end # Vedeu

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
vedeu-0.8.12 lib/vedeu/cells/borders/edges/top_horizontal.rb
vedeu-0.8.10 lib/vedeu/cells/borders/edges/top_horizontal.rb