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