Class: Cyborg::Importer

Inherits:
Sass::Importers::Filesystem
  • Object
show all
Defined in:
lib/cyborg/sass/importer.rb

Instance Method Summary collapse

Instance Method Details

#watched_file?(uri) ⇒ Boolean

Returns:

  • (Boolean)


50
51
52
53
# File 'lib/cyborg/sass/importer.rb', line 50

def watched_file?(uri)
  !!(uri =~ /\.yml$/ &&
    uri.start_with?(root + File::SEPARATOR))
end