Class: Sass::Importers::Filesystem Private
- Inherits:
-
Object
- Object
- Sass::Importers::Filesystem
- Defined in:
- lib/nanoc/filters/sass/sass_filesystem_importer.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
- #_find(dir, name, options) ⇒ Object private
- #_orig_find ⇒ Object private
Instance Method Details
#_find(dir, name, options) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/nanoc/filters/sass/sass_filesystem_importer.rb', line 5 def _find(dir, name, ) # Find filename full_filename, _syntax = ::Sass::Util.destructure(find_real_file(dir, name, )) return nil if full_filename.nil? # Create dependency filter = [:nanoc_current_filter] if filter item = filter.imported_filename_to_item(full_filename) filter.depend_on([item]) unless item.nil? end # Call original _find _orig_find(dir, name, ) end |
#_orig_find ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
3 |
# File 'lib/nanoc/filters/sass/sass_filesystem_importer.rb', line 3 alias _orig_find _find |