# File lib/sass/rails/compressor.rb, line 6definitialize(options={})
@options = {:style =>:compressed}.merge(options)
end
Public Instance Methods
compress(css)click to toggle source
# File lib/sass/rails/compressor.rb, line 10defcompress(css)
ifcss.count("\n") >2Sass::Engine.new(css,
:syntax =>:scss,
:cache =>false,
:read_cache =>false,
:style =>@options[:style]).render# note: style is set by railtie or by configelsecssendend