Class: SassC::ImportHandler
- Inherits:
-
Object
- Object
- SassC::ImportHandler
- Defined in:
- lib/sassc/import_handler.rb
Instance Method Summary collapse
-
#initialize(options) ⇒ ImportHandler
constructor
A new instance of ImportHandler.
- #setup(_native_options) ⇒ Object
Constructor Details
#initialize(options) ⇒ ImportHandler
Returns a new instance of ImportHandler.
5 6 7 8 9 10 11 |
# File 'lib/sassc/import_handler.rb', line 5 def initialize() @importer = if [:importer] [:importer].new() else nil end end |
Instance Method Details
#setup(_native_options) ⇒ Object
13 14 15 |
# File 'lib/sassc/import_handler.rb', line 13 def setup() Importer.new(@importer) if @importer end |