Sha256: 94d023475273555954a3a7b869445bd31074ad679eb9525baa7b2de9b0292282

Contents?: true

Size: 557 Bytes

Versions: 1

Compression:

Stored size: 557 Bytes

Contents

# frozen_string_literal: true

module Vedeu

  module Cells

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

      # @return [Symbol]
      def type
        :left_vertical
      end

      private

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

    end # LeftVertical

  end # Cells

end # Vedeu

Version data entries

1 entries across 1 versions & 1 rubygems

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