Class: Eskimo::Components::LineBreak

Inherits:
Object
  • Object
show all
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

#renderObject



13
14
15
# File 'lib/eskimo/components/line_break.rb', line 13

def render(**)
  "\n \n"
end