Sha256: 98d698348de9d4fcc4230fe6e838224ac1598d8197961b180e9b4a5c05649e62

Contents?: true

Size: 623 Bytes

Versions: 1

Compression:

Stored size: 623 Bytes

Contents

# frozen_string_literal: true

module Vedeu

  module Cells

    # Provides the character/escape sequence to draw the bottom right
    # border with a custom value, colour and style.
    #
    # @api private
    #
    class BottomRight < Vedeu::Cells::Corner

      # @return [Symbol]
      def type
        :bottom_right
      end

      private

      # @return [Hash<Symbol => String>]
      def defaults
        super.merge!(position: Vedeu::Geometries::Position.coerce([yn, xn]),
                     value:    Vedeu::EscapeSequences::Borders.bottom_right)
      end

    end # BottomRight

  end # Cells

end # Vedeu

Version data entries

1 entries across 1 versions & 1 rubygems

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