On 8/22/06, nobu / ruby-lang.org <nobu / ruby-lang.org> wrote:
> Hi,
>
> At Wed, 23 Aug 2006 02:36:01 +0900,
> John Johnson wrote in [ruby-talk:209921]:
> > oblivion = File.open(nil, 'w')
>
> It is easy in 1.9.
>
>   def nil.to_path
>     "/dev/null"
>   end

The same thing works in 1.8.4

-- 
Rick DeNatale

My blog on Ruby
http://talklikeaduck.denhaven2.com/