Sha256: 94c806583b3f6ad184d92ef72155a5b19d25ce0ccd9a4e2ba044ba4737acf516

Contents?: true

Size: 529 Bytes

Versions: 22

Compression:

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

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

    end # RightVertical

  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/right_vertical.rb
vedeu-0.8.10 lib/vedeu/cells/borders/edges/right_vertical.rb