Type

From: Lyle Johnson [mailto:lyle@users.sourceforge.net]
Subject: Re: Type

puts x.type # Must print “int”
puts x.type # Must print “array”
puts x.type # Must print “hash”

You made a very good guess :wink:

puts x.type # prints "Fixnum"
puts y.type # prints "Array"
puts z.type # prints "Hash"

POLS at work, ladies and gentlemen! :slight_smile:

Hope this helps,

Lyle

gavri