Sha256: 7527b3b19e03fea322309406fa742fd03b6d8175c0ee024083d66f3095416ea0

Contents?: true

Size: 679 Bytes

Versions: 93

Compression:

Stored size: 679 Bytes

Contents

# frozen_string_literal: true

module SassC
  class Importer
    attr_reader :options

    def initialize(options)
      @options = options
    end

    def imports(path, parent_path)
      # A custom importer must override this method.
      # Custom importer may return an Import, or an array of Imports.
      raise NotImplementedError
    end

    class Import
      attr_accessor :path, :source, :source_map_path

      def initialize(path, source: nil, source_map_path: nil)
        @path = path
        @source = source
        @source_map_path = source_map_path
      end

      def to_s
        "Import: #{path} #{source} #{source_map_path}"
      end
    end
  end
end

Version data entries

93 entries across 77 versions & 7 rubygems

Version Path
zuora_connect_ui-0.10.0 vendor/ruby/2.6.0/gems/sassc-2.2.0/lib/sassc/importer.rb
zuora_connect_ui-0.10.0 vendor/ruby/2.6.0/gems/sassc-2.0.1/lib/sassc/importer.rb
zuora_connect_ui-0.10.0 vendor/ruby/2.6.0/gems/sassc-2.2.1/lib/sassc/importer.rb
zuora_connect_ui-0.10.0 vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/lib/sassc/importer.rb
zuora_connect_ui-0.9.2 vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/lib/sassc/importer.rb
zuora_connect_ui-0.9.2 vendor/ruby/2.6.0/gems/sassc-2.0.1/lib/sassc/importer.rb
zuora_connect_ui-0.9.2 vendor/ruby/2.6.0/gems/sassc-2.2.0/lib/sassc/importer.rb
zuora_connect_ui-0.9.2 vendor/ruby/2.6.0/gems/sassc-2.2.1/lib/sassc/importer.rb
zuora_connect_ui-0.9.1 vendor/ruby/2.6.0/gems/sassc-2.0.1/lib/sassc/importer.rb
zuora_connect_ui-0.9.1 vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/lib/sassc/importer.rb
zuora_connect_ui-0.9.1 vendor/ruby/2.6.0/gems/sassc-2.2.0/lib/sassc/importer.rb
zuora_connect_ui-0.9.1 vendor/ruby/2.6.0/gems/sassc-2.2.1/lib/sassc/importer.rb
zuora_connect_ui-0.9.0 vendor/ruby/2.6.0/gems/sassc-2.0.1/lib/sassc/importer.rb
zuora_connect_ui-0.9.0 vendor/ruby/2.6.0/gems/sassc-2.1.0-x86_64-linux/lib/sassc/importer.rb
zuora_connect_ui-0.9.0 vendor/ruby/2.6.0/gems/sassc-2.2.0/lib/sassc/importer.rb
zuora_connect_ui-0.9.0 vendor/ruby/2.6.0/gems/sassc-2.2.1/lib/sassc/importer.rb
sassc-2.2.1-x86-mingw32 lib/sassc/importer.rb
sassc-2.2.1-x64-mingw32 lib/sassc/importer.rb
sassc-2.2.1 lib/sassc/importer.rb
zuora_connect_ui-0.8.3 vendor/ruby/2.6.0/gems/sassc-2.0.1/lib/sassc/importer.rb