get what's in $stderr as a string?
I tried Brian's solution and it worked perfectly. I should have tried
it before asking. I still don't really follow how it works (it's a
little like magic to me), so any education on that would be good.
I think that a declarative way of accessing the contents of what a
method writes to stderr would be a good addition to Ruby.
Regards,
Mark Wilson
|