Sha256: 081399e85fb31c1b6d1439f4c23d928b9b73cf27a66a9dab7470b0eb3b4ba4f2
Contents?: true
Size: 579 Bytes
Versions: 1
Compression:
Stored size: 579 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 [Symbol] def type :top_left end private # @return [Hash<Symbol => String>] def defaults super.merge!(position: Vedeu::Geometries::Position.coerce([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.2 | lib/vedeu/cells/borders/top_left.rb |