module Roda::RodaPlugins::EachPart::ClassMethods

  1. lib/roda/plugins/each_part.rb

Methods

Public Instance

  1. freeze

Public Instance methods

freeze()

When freezing, optimize the part method if assuming fixed locals and caching templates.

[show source]
   # File lib/roda/plugins/each_part.rb
30 def freeze
31   if render_opts[:assume_fixed_locals] && !render_opts[:check_template_mtime]
32     include AssumeFixedLocalsInstanceMethods
33   end
34 
35   super
36 end