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 # Globaly enable/disable caching. mattr_accessor :caching_enabled, true 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 # * George Moschovitis