lib/tap/support/executable.rb in bahuvrihi-tap-0.10.8 vs lib/tap/support/executable.rb in bahuvrihi-tap-0.11.0
- old
+ new
@@ -274,9 +274,15 @@
on_complete_block ? on_complete_block.call(audit) : app.aggregator.store(audit)
audit
end
+ # Calls _execute with the inputs and returns the un-audited result.
+ # Execute is not a batched method.
+ def execute(*inputs)
+ _execute(*inputs)._current
+ end
+
# Raises a TerminateError if app.state == State::TERMINATE.
# check_terminate may be called at any time to provide a
# breakpoint in long-running processes.
def check_terminate
if app.state == App::State::TERMINATE
\ No newline at end of file