Class: Vedeu::Cells::Corner Private
- Defined in:
- lib/vedeu/cells/borders/corner.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 position information to draw a border corner.
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from Empty
Instance Method Summary collapse
- #position ⇒ NilClass|Vedeu::Geometries::Position private
- #text ⇒ String private
Methods inherited from Border
#attributes, #defaults, #name=, #type, #value
Methods inherited from Empty
#as_html, #border, #defaults, #eql?, #geometry, #interface, #to_ast, #to_h, #to_html, #type, #value?
Methods included from Repositories::Defaults
#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
Methods included from Presentation::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
Instance Method Details
#position ⇒ NilClass|Vedeu::Geometries::Position
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.
14 15 16 |
# File 'lib/vedeu/cells/borders/corner.rb', line 14 def position @position = defaults[:position] end |
#text ⇒ String
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.
19 20 21 |
# File 'lib/vedeu/cells/borders/corner.rb', line 19 def text '+' end |