Class: Vedeu::Cells::RightVertical Private

Inherits:
Vertical show all
Defined in:
lib/vedeu/cells/borders/edges/right_vertical.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 one cell of the right vertical border with a custom value, colour and style.

Instance Attribute Summary

Attributes inherited from Empty

#name, #value

Instance Method Summary collapse

Methods inherited from Vertical

#as_html, #text

Methods inherited from Border

#attributes, #name=, #value

Methods inherited from Empty

#as_html, #border, #eql?, #geometry, #interface, #text, #to_ast, #to_h, #to_html, #value?

Methods included from Repositories::Defaults

#initialize, #validate

Methods included from Vedeu::Common

#absent?, #array?, #boolean, #boolean?, #empty_value?, #escape?, #falsy?, #hash?, #line_model?, #numeric?, #positionable?, #present?, #snake_case, #stream_model?, #string?, #symbol?, #truthy?, #view_model?

Methods included from Presentation::Styles

#render_style, #style, #style=, #style?

Methods included from Presentation::Parent

#name, #parent, #parent?

Methods included from Presentation::Position

#position, #position=, #position?, #render_position, #x, #y

Methods included from Presentation::Colour

#background, #background=, #colour, #colour=, #colour?, #foreground, #foreground=, #interface, #named_colour, #named_colour?, #parent_colour, #parent_colour?, #render_colour

Methods included from Presentation

#to_s

Instance Method Details

#defaultsHash<Symbol => void> (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.

The default options/attributes for a new instance of this class.

Returns:

  • (Hash<Symbol => void>)


22
23
24
# File 'lib/vedeu/cells/borders/edges/right_vertical.rb', line 22

def defaults
  super.merge!(value: Vedeu.esc.vertical)
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)


15
16
17
# File 'lib/vedeu/cells/borders/edges/right_vertical.rb', line 15

def type
  :right_vertical
end