Class: SassC::Importer
- Inherits:
-
Object
- Object
- SassC::Importer
- Defined in:
- lib/sassc/importer.rb
Defined Under Namespace
Classes: Import
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
- #imports(path, parent_path) ⇒ Object
-
#initialize(options) ⇒ Importer
constructor
A new instance of Importer.
Constructor Details
#initialize(options) ⇒ Importer
Returns a new instance of Importer.
5 6 7 |
# File 'lib/sassc/importer.rb', line 5 def initialize() @options = end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
3 4 5 |
# File 'lib/sassc/importer.rb', line 3 def @options end |
Instance Method Details
#imports(path, parent_path) ⇒ Object
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 |