Class: Sass::Engine
- Inherits:
-
Object
- Object
- Sass::Engine
- Defined in:
- lib/sass/globbing/monkey_patches.rb
Instance Method Summary collapse
-
#initialize(template, options = {}) ⇒ Engine
constructor
A new instance of Engine.
- #old_initialize ⇒ Object
Constructor Details
#initialize(template, options = {}) ⇒ Engine
Returns a new instance of Engine.
6 7 8 9 10 |
# File 'lib/sass/globbing/monkey_patches.rb', line 6 def initialize(template, ={}) old_initialize(template, ) self.[:load_paths].delete(Sass::Globbing::Importer.instance) # in case it's there self.[:load_paths] << Sass::Globbing::Importer.instance end |
Instance Method Details
#old_initialize ⇒ Object
4 |
# File 'lib/sass/globbing/monkey_patches.rb', line 4 alias old_initialize initialize |