Sha256: 3033dcc572388d09c90e9ead8ce454b5a9eefdea748a8158333193e9b0450a52
Contents?: true
Size: 520 Bytes
Versions: 15
Compression:
Stored size: 520 Bytes
Contents
# encoding: utf-8 module Aruba module Api # output() blocks for stderr and stdout it seems def assert_partial_output_interactive(expected) unescape(_read_interactive).include?(unescape(expected)) ? true : false end def _read_interactive @interactive.read_stdout(@aruba_keep_ansi) end end class Process def read_stdout(keep_ansi) wait_for_io do @process.io.stdout.flush content = filter_ansi(open(@out.path).read, keep_ansi) end end end end
Version data entries
15 entries across 15 versions & 1 rubygems