Sha256: 268b4564224d888f0169e87ba88b298150d0c1b9947f53913e2ca6df2baba918

Contents?: true

Size: 601 Bytes

Versions: 1

Compression:

Stored size: 601 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.esc.bottom_right)
      end

    end # BottomRight

  end # Cells

end # Vedeu

Version data entries

1 entries across 1 versions & 1 rubygems

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