Sha256: a056eeae2d5f2dc35bce688ea89c5ca61422ddefc95f0c10e12c79df9f075e54

Contents?: true

Size: 481 Bytes

Versions: 2

Compression:

Stored size: 481 Bytes

Contents

module Sprockets
  module Sass

    class DummyImporter < Sprockets::Sass::Utils.get_class_by_version("Importer")
      attr_accessor :has_been_used

      def initialize
        super()
        @has_been_used = false
      end

      def find(path, options)
        @has_been_used = true
        super(path, options)
      end

      def find_relative(uri, base, options, *args)
        @has_been_used = true
        super(uri, base, options, *args)
      end

    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sprockets-sass-2.0.0.beta2 spec/support/dummy_importer.rb
sprockets-sass-2.0.0.beta1 spec/support/dummy_importer.rb