Sha256: ce89542f8e72cefa2e152591d1ca93dfd0ec4f7b55e8c853ac48ba34bdb95f1d
Contents?: true
Size: 669 Bytes
Versions: 1
Compression:
Stored size: 669 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 [String] def as_html '┘' end # @return [Symbol] def type :bottom_right end private # @return [Hash<Symbol => String>] def defaults super.merge!(position: Vedeu::Geometries::Position.new(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.9 | lib/vedeu/cells/borders/vertices/bottom_right.rb |