Sha256: c61dc8679a0b0f34a2598888ba4bfde94336f868dbf3bd20b48f3dcf65cff107

Contents?: true

Size: 434 Bytes

Versions: 3

Compression:

Stored size: 434 Bytes

Contents

module Sprockets
  module Sass

    class DummyImporter < 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

3 entries across 3 versions & 2 rubygems

Version Path
arcabouco-0.2.13 vendor/bundle/gems/sprockets-sass-1.3.1/spec/support/dummy_importer.rb
sprockets-sass-1.3.1 spec/support/dummy_importer.rb
sprockets-sass-1.3.0 spec/support/dummy_importer.rb