Class: SasscImporter

Inherits:
SassC::Importer
  • Object
show all
Defined in:
lib/isodoc/sassc_importer.rb

Instance Method Summary collapse

Instance Method Details

#imports(path, _parent_path) ⇒ Object



6
7
8
9
10
# File 'lib/isodoc/sassc_importer.rb', line 6

def imports(path, _parent_path)
  unless path.match?(/(css|scss)$/)
    Import.new("#{path}.scss")
  end
end