module YARD::Templates::Template
def include_extra(template, options)
-
(void)
-
Parameters:
-
options
(SymbolHash
) -- the options hash containing all template information -
template
(Template
) -- the template object to mixin the extra includes.
def include_extra(template, options) extra_includes.each do |mod| mod = mod.call(options) if mod.is_a?(Proc) next unless mod.is_a?(Module) template.extend(mod) end end