Hello, 

i have a question about Structs , in the Book 'Ruby in a Nutshell' is written 
=>
S = Struct::new(:foo, :bar)
s = S::new(1,2)
s                                                   => #<S foo=1, bar=5>

but 

i receive with my Code Ruby v1.6.8 =>

tem = Struct::new(:foo, :bar)
meinstruct = tem::new(0,8)
puts meinstruct

=> #<#<Class 0lx4013ac0c>>

is this a change in a Rubyversion ? Or did i read the book wrongly ?


mfg. Jonas Hoffmann