Class: Sass::Engine

Inherits:
Object
  • Object
show all
Defined in:
lib/sass/globbing/monkey_patches.rb

Instance Method Summary collapse

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, options={})
  old_initialize(template, options)
  self.options[:load_paths].delete(Sass::Globbing::Importer.instance) # in case it's there
  self.options[:load_paths] << Sass::Globbing::Importer.instance
end

Instance Method Details

#old_initializeObject



4
# File 'lib/sass/globbing/monkey_patches.rb', line 4

alias old_initialize initialize