Class: Eskimo::Components::LineBreak
- Inherits:
-
Object
- Object
- Eskimo::Components::LineBreak
- Defined in:
- lib/eskimo/components/line_break.rb
Overview
Insert a paragraph-like line-break.
[ "Hello", LineBreak.new, "World!" ]
# => "Hello"
# ""
# ""
# "World!"
Instance Method Summary collapse
Instance Method Details
#render ⇒ Object
13 14 15 |
# File 'lib/eskimo/components/line_break.rb', line 13 def render(**) "\n \n" end |