lib/yard/lib/yard/templates/template.rb
# Includes the {extra_includes} modules into the template object.
#
# @param [Template] template the template object to mixin the extra includes.
# @param [SymbolHash] options the options hash containing all template information
# @return [void]
Includes the {extra_includes} modules into the template object.
Includes the { extra_includes } modules into the template object .
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
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
Includes the {extra_includes} modules into the template object.
Includes the { extra_includes } modules into the template object .
None
void
template
options
options the options hash containing all template information
options the options hash containing all template information