Module: Sevgi::Derender::Elements::CSS Private
- Defined in:
- lib/sevgi/derender/elements/css.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 SVG style elements.
Instance Method Summary collapse
-
#decompile ⇒ Array<String>
private
Converts a style 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 style node into unformatted Sevgi DSL lines.
11 12 13 14 15 16 17 18 19 20 |
# File 'lib/sevgi/derender/elements/css.rb', line 11 def decompile(*) return [] unless (lines = css_lines) [ "css({", *lines, "})", "" ] end |