Module: ErectorCache::AbstractWidget

Defined in:
lib/erector_cache/abstract_widget.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



3
4
5
6
7
8
9
10
11
12
# File 'lib/erector_cache/abstract_widget.rb', line 3

def self.included(base)
  base.module_eval do
    cattr_accessor :expire_in
    extend ClassMethods
    class_attribute :key_components
    class_attribute :interpolations
    include InstanceMethods
    alias_method_chain :_emit_via, :caching
  end
end