Class: Nanoc::Filters::Autoprefixer

Inherits:
Core::Filter
  • Object
show all
Defined in:
lib/nanoc/filters/autoprefixer.rb

Instance Method Summary collapse

Instance Method Details

#run(content, params = {}) ⇒ Object



8
9
10
# File 'lib/nanoc/filters/autoprefixer.rb', line 8

def run(content, params={})
  AutoprefixerRails.process(content.dup, params.dup).css
end