Sha256: 290cf7ad834cbf4fa64e92b573dc2c47ba713412bbf38da51a0501cefe91f431

Contents?: true

Size: 543 Bytes

Versions: 8

Compression:

Stored size: 543 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

      # @return [Hash<Symbol => String>]
      def defaults
        super.merge!(value: Vedeu.esc.horizontal)
      end

    end # TopHorizontal

  end # Cells

end # Vedeu

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
vedeu-0.8.9 lib/vedeu/cells/borders/edges/top_horizontal.rb
vedeu-0.8.8 lib/vedeu/cells/borders/edges/top_horizontal.rb
vedeu-0.8.7 lib/vedeu/cells/borders/edges/top_horizontal.rb
vedeu-0.8.6 lib/vedeu/cells/borders/edges/top_horizontal.rb
vedeu-0.8.5 lib/vedeu/cells/borders/edges/top_horizontal.rb
vedeu-0.8.4 lib/vedeu/cells/borders/edges/top_horizontal.rb
vedeu-0.8.3 lib/vedeu/cells/borders/edges/top_horizontal.rb
vedeu-0.8.2 lib/vedeu/cells/borders/top_horizontal.rb