Class: Twterm::Image::BlankLine
Instance Method Summary
collapse
#!, #-, #_, #at, blank_line, #bold, #brackets, checkbox, #color, #column, cursor, #dim, empty, #initialize, #line, number, #parens, plural, remaining_resource, string, toggle_switch, #underlined, whitespace, #|
Constructor Details
This class inherits a constructor from Twterm::Image
Instance Method Details
#height ⇒ Object
4
5
6
|
# File 'lib/twterm/image/blank_line.rb', line 4
def height
1
end
|
#render(_) ⇒ Object
8
9
10
|
# File 'lib/twterm/image/blank_line.rb', line 8
def render(_)
self
end
|
#to_s ⇒ Object
12
13
14
|
# File 'lib/twterm/image/blank_line.rb', line 12
def to_s
"\n"
end
|
#width ⇒ Object
16
17
18
|
# File 'lib/twterm/image/blank_line.rb', line 16
def width
0
end
|