Class | Sprockets::Index |
In: |
lib/sprockets/index.rb
|
Parent: | Base |
`Index` is a special cached version of `Environment`.
The expection is that all of its file system methods are cached for the instances lifetime. This makes `Index` much faster. This behavior is ideal in production environments where the file system is immutable.
`Index` should not be initialized directly. Instead use `Environment#index`.