Class: Aidp::Interfaces::NullExecutor
- Inherits:
-
Object
- Object
- Aidp::Interfaces::NullExecutor
- Includes:
- CommandExecutorInterface
- Defined in:
- lib/aidp/interfaces/command_executor_interface.rb
Overview
NullExecutor implements CommandExecutorInterface as a no-op. Returns successful empty results. Useful for testing.
Instance Method Summary collapse
Instance Method Details
#execute(command, args: [], input: nil, timeout: nil, **options) ⇒ Object
116 117 118 |
# File 'lib/aidp/interfaces/command_executor_interface.rb', line 116 def execute(command, args: [], input: nil, timeout: nil, **) CommandResult.new(stdout: "", stderr: "", exit_status: 0) end |