rickyr wrote:

> 
> Also, when I do this
> 
> a = Hash.new
> puts(a.id)
> 
> Ruby whines no such method existed. The docs mentioned object#id, and
> all are descendant of object class. 

irb(main):004:0> RUBY_VERSION
=> "1.8.6"
irb(main):005:0> a={}
=> {}
irb(main):006:0> a.id
(irb):6: warning: Object#id will be deprecated; use Object#object_id
=> 22862560
irb(main):007:0> a.object_id
=> 22862560

hth,

Siep

-- 
Posted via http://www.ruby-forum.com/.