module Redmemo::Cache
Public Class Methods
included(base)
click to toggle source
# File lib/redmemo.rb, line 10 def self.included(base) base.include(InstanceMethods) base.extend(ClassMethods) # creates a custom cache module for the base class # this module will hold the overriding methods base.prepend(const_set("#{base.name}Cache", Module.new)) end