On Thu, Apr 29, 2010 at 10:56 PM, Robert Dober <robert.dober / gmail.com> wrote:
> On Thu, Apr 29, 2010 at 2:31 PM, hemant <gethemant / gmail.com> wrote:
> Hmm, can you? I am not that sure, here is the behavior I was thinking about:
>
> def with_stdout stdout, &blk
>   > stdout = stdout
>  
> ensure
> stdout = original_stdout
> end
>

Fair enough, may be in that pattern. But for general usage, #reopen
suffices. But in any case, it may be bikeshedding to further press the
point. :D





-- 
Let them talk of their oriental summer climes of everlasting
conservatories; give me the privilege of making my own summer with my
own coals.

http://gnufied.org