Sha256: 722eb07ef4ded302402c270cb3d1510cf55d80fefbd6968549868b5db37092be

Contents?: true

Size: 534 Bytes

Versions: 6

Compression:

Stored size: 534 Bytes

Contents

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::EscapeSequences::Borders.horizontal)
      end

    end # TopHorizontal

  end # Cells

end # Vedeu

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
vedeu-0.8.0 lib/vedeu/cells/borders/top_horizontal.rb
vedeu-0.7.4 lib/vedeu/cells/borders/top_horizontal.rb
vedeu-0.7.3 lib/vedeu/cells/borders/top_horizontal.rb
vedeu-0.7.2 lib/vedeu/cells/borders/top_horizontal.rb
vedeu-0.7.1 lib/vedeu/cells/borders/top_horizontal.rb
vedeu-0.7.0 lib/vedeu/cells/borders/top_horizontal.rb