From: Ryan Paul Date: 2004-05-19T00:43:49+09:00 Subject: stream filtering I'm looking for a way to filter the stdout/stderr streams in ruby. In python, you can point sys.stdout to any class with a 'write' method- the write method could then be used to perform filtering actions on printed text. If it is possible, I would really appreciate a sample. If it isnt, i'd appreciate suggestions. I think I might try replacing the puts function, or something like that. Thanks --Segphault