lib/rails_imager.rb in rails_imager-0.0.29 vs lib/rails_imager.rb in rails_imager-0.0.30
- old
+ new
@@ -39,8 +39,12 @@
require "rmagick"
rescue LoadError
require "RMagick"
end
end
+
+ def self.cache_handler
+ @cache_handler ||= RailsImager::CacheHandler.new
+ end
end
RailsImager.require_rmagick