Class: Evilution::MCP::InfoTool::Actions::Subjects Private
- Defined in:
- lib/evilution/mcp/info_tool/actions/subjects.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Class Method Summary collapse
- .call(files: nil, line_ranges: nil, target: nil, integration: nil, skip_config: nil) ⇒ Object private
Class Method Details
.call(files: nil, line_ranges: nil, target: nil, integration: nil, skip_config: nil) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
10 11 12 13 14 15 16 17 |
# File 'lib/evilution/mcp/info_tool/actions/subjects.rb', line 10 def self.call(files: nil, line_ranges: nil, target: nil, integration: nil, skip_config: nil, **) return config_error("files is required") if files.nil? || files.empty? config = build_config(files, line_ranges, target, integration, skip_config) subjects = Evilution::Runner.new(config: config).parse_and_filter_subjects entries = subject_entries(subjects, config) success_response(entries) end |