Sha256: 9d606db4f5a25c23b3530793d83dc12ddcc11d41233a9f2fe7e4f91002166922
Contents?: true
Size: 647 Bytes
Versions: 1
Compression:
Stored size: 647 Bytes
Contents
# frozen_string_literal: true module Vedeu module Cells # Provides the character/escape sequence to draw the top left # border with a custom value, colour and style. # # @api private # class TopLeft < Vedeu::Cells::Corner # @return [String] def as_html '┌' end # @return [Symbol] def type :top_left end private # @return [Hash<Symbol => String>] def defaults super.merge!(position: Vedeu::Geometries::Position.new(y, x), value: Vedeu.esc.top_left) end end # TopLeft 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/top_left.rb |