Sha256: 42eb99dc038b7c74ae0662b0251022ed28f653c30cc6e15528ebbb0807ba6793

Contents?: true

Size: 653 Bytes

Versions: 22

Compression:

Stored size: 653 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 [String]
      def as_html
        '&#x2514;'
      end

      # @return [Symbol]
      def type
        :bottom_left
      end

      private

      # @macro defaults_method
      def defaults
        super.merge!(position: Vedeu::Geometries::Position.new(yn, x),
                     value:    Vedeu.esc.bottom_left)
      end

    end # BottomLeft

  end # Cells

end # Vedeu

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
vedeu-0.8.32 lib/vedeu/cells/borders/vertices/bottom_left.rb
vedeu-0.8.31 lib/vedeu/cells/borders/vertices/bottom_left.rb
vedeu-0.8.30 lib/vedeu/cells/borders/vertices/bottom_left.rb
vedeu-0.8.29 lib/vedeu/cells/borders/vertices/bottom_left.rb
vedeu-0.8.28 lib/vedeu/cells/borders/vertices/bottom_left.rb
vedeu-0.8.27 lib/vedeu/cells/borders/vertices/bottom_left.rb
vedeu-0.8.26 lib/vedeu/cells/borders/vertices/bottom_left.rb
vedeu-0.8.25 lib/vedeu/cells/borders/vertices/bottom_left.rb
vedeu-0.8.24 lib/vedeu/cells/borders/vertices/bottom_left.rb
vedeu-0.8.23 lib/vedeu/cells/borders/vertices/bottom_left.rb
vedeu-0.8.22 lib/vedeu/cells/borders/vertices/bottom_left.rb
vedeu-0.8.21 lib/vedeu/cells/borders/vertices/bottom_left.rb
vedeu-0.8.20 lib/vedeu/cells/borders/vertices/bottom_left.rb
vedeu-0.8.19 lib/vedeu/cells/borders/vertices/bottom_left.rb
vedeu-0.8.18 lib/vedeu/cells/borders/vertices/bottom_left.rb
vedeu-0.8.17 lib/vedeu/cells/borders/vertices/bottom_left.rb
vedeu-0.8.16 lib/vedeu/cells/borders/vertices/bottom_left.rb
vedeu-0.8.15 lib/vedeu/cells/borders/vertices/bottom_left.rb
vedeu-0.8.14 lib/vedeu/cells/borders/vertices/bottom_left.rb
vedeu-0.8.13 lib/vedeu/cells/borders/vertices/bottom_left.rb