Class: Vedeu::Cells::BottomRight Private

Inherits:
Corner show all
Defined in:
lib/vedeu/cells/borders/vertices/bottom_right.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Provides the character/escape sequence to draw the bottom right border with a custom value, colour and style.

Instance Method Summary collapse

Instance Method Details

#as_htmlString

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

  • (String)


15
16
17
# File 'lib/vedeu/cells/borders/vertices/bottom_right.rb', line 15

def as_html
  '┘'
end

#defaultsHash<Symbol => String> (private)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

  • (Hash<Symbol => String>)


27
28
29
30
# File 'lib/vedeu/cells/borders/vertices/bottom_right.rb', line 27

def defaults
  super.merge!(position: Vedeu::Geometries::Position.coerce([yn, xn]),
               value:    Vedeu.esc.bottom_right)
end

#typeSymbol

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

  • (Symbol)


20
21
22
# File 'lib/vedeu/cells/borders/vertices/bottom_right.rb', line 20

def type
  :bottom_right
end