Module: CommandTest::CoreExtensions::IO

Defined in:
lib/command_test/core_extensions.rb

Instance Method Summary collapse

Instance Method Details

#popen_with_command_test(*args, &block) ⇒ Object



54
55
56
57
58
# File 'lib/command_test/core_extensions.rb', line 54

def popen_with_command_test(*args, &block)
  command = args.first and
    CommandTest.record_interpreted_command(command)
  popen_without_command_test(*args, &block)
end