Class: Eskimo::ASCII::SoftBreak

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

Overview

Insert a soft line-break.

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

Instance Method Summary collapse

Instance Method Details

#renderObject



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

def render(**)
  "\n"
end