Sha256: 5d7d77f106ef1724e59fa8087930d28a6c0aa92954a0ab2f182ef134374f0566

Contents?: true

Size: 561 Bytes

Versions: 1

Compression:

Stored size: 561 Bytes

Contents

# frozen_string_literal: true

module Vedeu

  module Cells

    # Provides the character/escape sequence to draw one cell of the
    # right vertical border with a custom value, colour and style.
    #
    # @api private
    #
    class RightVertical < Vedeu::Cells::Vertical

      # @return [Symbol]
      def type
        :right_vertical
      end

      private

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

    end # RightVertical

  end # Cells

end # Vedeu

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vedeu-0.8.1 lib/vedeu/cells/borders/right_vertical.rb