I'm putting together a Ruby presentation for our local Linux user's group 
and I ran into something that seems a bit odd...

I can do:
puts /This is a regex/.type #-> prints: Regex (fine and good)

but I can't do:
puts (42 .. 257).type #it prints: 42 .. 257 (instead of Range)

but I can do:
whatType = (42 .. 257).type
puts whatType

Why is this?

I'm running:
ruby 1.6.2 (2000-12-25) [i686-linux]

Phil