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