File: caching.rb

package info (click to toggle)
ruby-rails-observers 0.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 268 kB
  • ctags: 233
  • sloc: ruby: 1,522; makefile: 2
file content (12 lines) | stat: -rw-r--r-- 332 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
module ActionController #:nodoc:
  module Caching
    extend ActiveSupport::Autoload

    eager_autoload do
      autoload :Sweeper,  'rails/observers/action_controller/caching/sweeping'
      autoload :Sweeping, 'rails/observers/action_controller/caching/sweeping'
    end

    include Sweeping if defined?(ActiveRecord)
  end
end