module YARD::Templates::Template::ClassMethods

def full_paths

Other tags:
    Note: - This method caches path results. Paths should not be modified

Returns:
  • (Array) - a list of full paths
def full_paths
  reset_full_paths unless defined? @cached_included_modules
  return @full_paths if included_modules == @cached_included_modules
  @cached_included_modules = included_modules
  @full_paths = included_modules.inject([full_path]) do |paths, mod|
    paths |= mod.full_paths if mod.respond_to?(:full_paths)
    paths
  end
end