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