Class: Eskimo::ASCII::SoftBreak
- Inherits:
-
Object
- Object
- Eskimo::ASCII::SoftBreak
- Defined in:
- gems/eskimo-ascii/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
#render ⇒ Object
10 11 12 |
# File 'gems/eskimo-ascii/lib/eskimo/ascii/components/soft_break.rb', line 10 def render(**) "\n" end |