lib/sinatra/assetpack/options.rb in sinatra-assetpack-0.0.8 vs lib/sinatra/assetpack/options.rb in sinatra-assetpack-0.0.9
- old
+ new
@@ -240,17 +240,9 @@
tuples = paths.map { |key| [key, files[key]] }
HashArray[*tuples.flatten]
end
- def cache
- @cache ||= Hash.new
- end
-
- def reset_cache
- @cache = nil && cache
- end
-
private
# Returns a URI for a given file
# path = '/projects/x/app/css'
# to_uri('/projects/x/app/css/file.sass', '/styles', path) => '/styles/file.css'
#