compass
https://github.com/chriseppstein/compass
CSS
Compass is no longer actively maintained. Compass is a Stylesheet Authoring Environment that makes your website design simpler to implement and easier to maintain.
Compass::ImportOnce.import_tracker
A map of css filenames to a set of engine cache keys that uniquely identify what has been imported. The lifecycle of each key is handled by code wrapped around Sass's render, to_css and render_with_sourcemap methods on the Sass::Engine. Ideally, Sass would provide a place in it's public API to put information that persists for only the duration of a single compile and would be accessible for all sass engines and sass functions written in ruby.
Edit
git clone [email protected]:chriseppstein/compass.git
cd compass
open import-once/lib/compass/import-once.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Compass--ImportOnce-import_tracker-for-pr
# Commit to gitgit add import-once/lib/compass/import-once.rbgit commit -m "better docs for Compass::ImportOnce.import_tracker"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Compass--ImportOnce-import_tracker-for-pr
hub pull-request
# Celebrate!