class Slim::Filter
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
Public Instance Methods
Source
# File lib/slim/filter.rb, line 22 def on_slim_control(code, content) [:slim, :control, code, compile(content)] end
Pass-through handler
Source
# File lib/slim/filter.rb, line 17 def on_slim_embedded(type, content, attrs) [:slim, :embedded, type, compile(content), attrs] end
Pass-through handler
Source
# File lib/slim/filter.rb, line 27 def on_slim_output(escape, code, content) [:slim, :output, escape, code, compile(content)] end
Pass-through handler
Source
# File lib/slim/filter.rb, line 12 def on_slim_text(type, content) [:slim, :text, type, compile(content)] end
Pass-through handler