[SVN] r7227

Allan Odgaard throw-away-1 at macromates.com
Sat May 12 04:11:23 UTC 2007


Add a wrapper for the tedious task of reading from multiple file descriptors. Simple example:

TextMate::IO.exhaust(:out => stdout, :err => stderr) do |str, type|
  case type
    when :out then STDOUT << str
    when :err then STDERR << str
  end
end

Changed:
A   trunk/Support/lib/io.rb



More information about the textmate-dev mailing list