Method: Sass::Importers::Filesystem#initialize

Defined in:
lib/sass/importers/filesystem.rb

#initialize(root) ⇒ Filesystem

Creates a new filesystem importer that imports files relative to a given path.

Parameters:

  • root (String)

    The root path. This importer will import files relative to this path.



16
17
18
19
# File 'lib/sass/importers/filesystem.rb', line 16

def initialize(root)
  @root = File.expand_path(root)
  @same_name_warnings = Set.new
end