generate functionThu, 02 Mar 2023

how to add options for rails SassProcessor

def sass(options = {}) options[:syntax] ||= :scss options[:cache_location] ||= '/tmp/.sass-cache' options[:style] ||= :compressed Sass::Plugin.options.merge!(options) end

Questions about programming?Chat with your personal AI assistant