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.



7
8
9
# File 'lib/sassc/importer.rb', line 7

def initialize(options)
  @options = options
end

Instance Attribute Details

#optionsObject (readonly)

Returns the value of attribute options.



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

def options
  @options
end

Instance Method Details

#imports(path, parent_path) ⇒ Object

Raises:

  • (NotImplementedError)


11
12
13
14
15
# File 'lib/sassc/importer.rb', line 11

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