Class: Slimi::Filters::Amble
- Defined in:
- lib/slimi/filters/amble.rb
Overview
Support Rails annotate_rendered_view_with_filenames feature.
Instance Method Summary collapse
Methods inherited from Base
#on_slimi_control, #on_slimi_embedded, #on_slimi_output, #on_slimi_position, #on_slimi_text
Instance Method Details
#call(expression) ⇒ Array
14 15 16 17 18 19 20 |
# File 'lib/slimi/filters/amble.rb', line 14 def call(expression) result = %i[multi] result << [:static, [:preamble]] if [:preamble] result << expression result << [:static, [:postamble]] if [:postamble] result end |