Class: Smith::Tool::ExecutionBatchCollection
- Inherits:
-
Object
- Object
- Smith::Tool::ExecutionBatchCollection
- Defined in:
- lib/smith/tool/execution_batch_collection.rb
Constant Summary collapse
- MAX_CALLS =
100
Class Method Summary collapse
Class Method Details
.capture(tool_calls) ⇒ Object
17 18 19 20 21 22 |
# File 'lib/smith/tool/execution_batch_collection.rb', line 17 def self.capture(tool_calls) size = admitted_size(tool_calls) captured = owned_copy(tool_calls) validate_copy_size!(captured, size) indexed_calls(captured) end |