Un fichier pour diminuer certains warning à la compilation des sass

This commit is contained in:
echarp 2014-10-24 01:34:15 +02:00
parent 37c0829b6f
commit 837a69e6ff

View File

@ -0,0 +1,15 @@
module Sass
module Rails
# Shut up extra warning calls from sass
class SassImporter < Sass::Importers::Filesystem
def marshal_dump
# Return some kind of unique fingerprint to Sass
@_marshal_id ||= object_id.to_s(16)
end
def marshal_load(*_args)
# Do nothing, we don't actually care if this is Marshalable
end
end
end
end