Sha256: bc87348a50aab7a72c912b3dc854e2a1015af832bf92b40ff8eed9aa4e54c1ff

Contents?: true

Size: 586 Bytes

Versions: 5

Compression:

Stored size: 586 Bytes

Contents

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

5 entries across 5 versions & 1 rubygems

Version Path
vedeu-0.8.0 lib/vedeu/cells/borders/bottom_left.rb
vedeu-0.7.4 lib/vedeu/cells/borders/bottom_left.rb
vedeu-0.7.3 lib/vedeu/cells/borders/bottom_left.rb
vedeu-0.7.2 lib/vedeu/cells/borders/bottom_left.rb
vedeu-0.7.1 lib/vedeu/cells/borders/bottom_left.rb