From: ts Date: 2005-10-17T01:07:10+09:00 Subject: Re: convert fd to IO object in extension? >>>>> "T" == Toby DiPasquale writes: T> So, is there a way in the Ruby source to map a fd to its associated IO T> object? Perhaps you can try with ObjectSpace::each_object, something like this moulon% ruby -e 'ObjectSpace::each_object(IO) {|io| puts "#{io} #{io.to_i}"}' # 2 # 1 # 0 moulon% Guy Decoux