Base class for Temple filters used in Slim
This base filter passes everything through and allows to override only some methods without affecting the rest of the expression.
@api private
Pass-through handler
# File lib/slim/filter.rb, line 21 def on_slim_control(code, content) [:slim, :control, code, compile(content)] end
Pass-through handler
# File lib/slim/filter.rb, line 16 def on_slim_embedded(type, content) [:slim, :embedded, type, compile(content)] end
Pass-through handler
# File lib/slim/filter.rb, line 26 def on_slim_output(code, escape, content) [:slim, :output, code, escape, compile(content)] end
Pass-through handler
# File lib/slim/filter.rb, line 11 def on_slim_text(content) [:slim, :text, compile(content)] end