agenda-libre-ruby/config/initializers/shut_up_sass.rb

16 lines
386 B
Ruby
Raw Normal View History

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