Class: Vedeu::Cells::Clear Private
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 a with a custom value, colour and style.
The Vedeu::Cells::Clear object represents a cleared cell using the space character.
Instance Attribute Summary
Attributes inherited from Empty
Instance Method Summary collapse
- #type ⇒ Symbol private
- #value ⇒ String (also: #text) private
Methods inherited from Empty
#as_html, #border, #defaults, #eql?, #geometry, #interface, #to_ast, #to_h, #to_html, #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=, #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
#type ⇒ Symbol
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.
18 19 20 |
# File 'lib/vedeu/cells/clear.rb', line 18 def type :clear end |
#value ⇒ String Also known as: text
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.
23 24 25 |
# File 'lib/vedeu/cells/clear.rb', line 23 def value ' ' end |