= private = protected
transact(&block)
Executes a block as self
Example:
sh.transact { system("ls", "-l") | head > STDOUT }
# File lib/shell/command-processor.rb, line 273 def transact(&block) begin @shell.instance_eval(&block) ensure check_point end end