Module: Sevgi::Derender::Elements::Text Private
- Defined in:
- lib/sevgi/derender/elements/text.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Element strategy for text nodes.
Instance Method Summary collapse
-
#decompile ⇒ Array<String>
private
Converts a text node into unformatted Sevgi DSL lines.
Instance Method Details
#decompile ⇒ Array<String>
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Converts a text node into unformatted Sevgi DSL lines.
11 |
# File 'lib/sevgi/derender/elements/text.rb', line 11 def decompile(*) = ["_ #{Ruby.literal(content)}"] |