module Roda::RodaPlugins::Render::ClassMethods

def inherited(subclass)

affecting the parent class.
them as necessary to prevent changes in the subclass
Copy the rendering options into the subclass, duping
def inherited(subclass)
  super
  opts = subclass.opts[:render] = subclass.opts[:render].dup
  if COMPILED_METHOD_SUPPORT
    opts[:template_method_cache] = (opts[:cache_class] || RodaCache).new
  end
  opts[:cache] = opts[:cache].dup
  opts.freeze
end