Class: Utils::ConfigFile::CodeIndexer

Inherits:
BlockConfig show all
Defined in:
lib/utils/config_file.rb

Overview

A configuration class for code indexing operations.

This class manages the configuration settings for generating code indexes like ctags and cscope. It provides functionality to define which paths should be indexed and what file formats should be generated for each indexing tool.

The paths config configures the directories to be included in the index generation process.

The formats config configures the output file formats for different indexing tools and the output filenames.

Examples:

indexer = Utils::ConfigFile.new.code_indexer do |config|
  config.paths = %w[ lib spec ]
  config.formats = { 'ctags' => 'tags', 'cscope' => 'cscope.out' }
end

Method Summary

Methods inherited from BlockConfig

config, inherited, #initialize, #to_ruby

Constructor Details

This class inherits a constructor from Utils::ConfigFile::BlockConfig