Module: Slim::Embedded::Minify::Tag

Included in:
Javascript, TagEngine
Defined in:
lib/slim/embedded/minify/tag.rb

Instance Method Summary collapse

Instance Method Details

#on_slim_embedded(engine, body, attrs) ⇒ Object



7
8
9
10
# File 'lib/slim/embedded/minify/tag.rb', line 7

def on_slim_embedded(engine, body, attrs)
  body = minify(body) if engine == :css
  super(engine, body, attrs)
end