Class: SassC::Importer

Inherits:
Object
  • Object
show all
Defined in:
lib/sassc/importer.rb

Defined Under Namespace

Classes: Import

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options) ⇒ Importer

Returns a new instance of Importer.



5
6
7
# File 'lib/sassc/importer.rb', line 5

def initialize(options)
  @options = options
end

Instance Attribute Details

#optionsObject (readonly)

Returns the value of attribute options.



3
4
5
# File 'lib/sassc/importer.rb', line 3

def options
  @options
end

Instance Method Details

#imports(path, parent_path) ⇒ Object

Raises:

  • (NotImplementedError)


9
10
11
12
13
# File 'lib/sassc/importer.rb', line 9

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