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.
7 8 9 |
# File 'lib/sassc/importer.rb', line 7 def initialize() @options = end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
5 6 7 |
# File 'lib/sassc/importer.rb', line 5 def @options end |
Instance Method Details
#imports(path, parent_path) ⇒ Object
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 |