module YARD::Templates::Template
def superb(sect = section, &block)
-
(String)
- the rendered ERB file in any of the inherited template
Parameters:
-
sect
(Symbol, String
) -- if provided, uses a specific section name
def superb(sect = section, &block) filename = self.class.find_nth_file(erb_file_for(sect), 2) return "" unless filename method_name = ErbCache.method_for(filename) { erb_with(IO.read(filename), filename) } send(method_name, &block) end