Sha256: 232bacb0c2af24d96e899a4845781af6bdae76f558a90325e660c93d9d520d26
Contents?: true
Size: 518 Bytes
Versions: 2
Compression:
Stored size: 518 Bytes
Contents
# * George Moschovitis <gm@navel.gr> # (c) 2004-2005 Navel, all rights reserved. # $Id: caching.rb 1 2005-04-11 11:04:30Z gmosx $ require 'fileutils' require 'glue/attribute' require 'nitro/caching/output' require 'nitro/caching/actions' require 'nitro/caching/fragments' module Nitro # Adds support for caching. module Caching def self.append_features(base) #:nodoc: super base.send :include, Output, Actions, Fragments base.class_eval do cattr_accessor :caching_enabled, true end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
nitro-0.16.0 | lib/nitro/caching.rb |
nitro-0.17.0 | lib/nitro/caching.rb |