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
  opts[:cache] = opts[:cache].dup
  opts.freeze
end

def render_opts

Return the render options for this class.
def render_opts
  opts[:render]
end