R
Ryan Paul
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
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