Sha256: 569a71b2b3ad836a3acfefd25b23dbdaa6d21760826509ff4576faa448371ab6

Contents?: true

Size: 617 Bytes

Versions: 1

Compression:

Stored size: 617 Bytes

Contents

# frozen_string_literal: true

module Vedeu

  module Cells

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

      # @return [Symbol]
      def type
        :bottom_left
      end

      private

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

    end # BottomLeft

  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_left.rb