Class: Eskimo::Components::SoftBreak

Inherits:
Object
  • Object
show all
Defined in:
lib/eskimo/components/soft_break.rb

Overview

Insert a soft line-break.

[ "Hello", SoftBreak.new, "World!" ]
# => "Hello"
#    "World!"

Instance Method Summary collapse

Instance Method Details

#renderObject



11
12
13
# File 'lib/eskimo/components/soft_break.rb', line 11

def render(**)
  "\n"
end