Class: Smith::Workflow::ExecutionResultSnapshot
- Inherits:
-
Object
- Object
- Smith::Workflow::ExecutionResultSnapshot
- Extended by:
- Dry::Initializer
- Defined in:
- lib/smith/workflow/execution_result_snapshot.rb
Constant Summary collapse
- MAX_DEPTH =
128- MAX_NODES =
100_000- MAX_BYTES =
4 * 1024 * 1024
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
21 22 23 24 25 26 27 |
# File 'lib/smith/workflow/execution_result_snapshot.rb', line 21 def call reset root = copy_value(value, depth: 0, preserve_error: true) drain @containers.each(&:freeze) if freeze_copy root end |