module YARD::Templates::Template
def erb(section, &block)
-
(String)
- the contents of the ERB rendered section
Other tags:
- Yield: - calls subsections to be rendered
Parameters:
-
section
(String, Symbol
) -- the section name
def erb(section, &block) method_name = ErbCache.method_for(cache_filename(section)) do erb_with(cache(section), cache_filename(section)) end send(method_name, &block) end