From: Jonas Hoffmann Date: 2002-12-26T19:29:44+09:00 Subject: Re: Struct Question Am Donnerstag, 26. Dezember 2002 11:15 schrieb Bulat Ziganshin: > > JH> is this a change in a Rubyversion ? Or did i read the book wrongly ? > > 1. use Capitalized name for class (Tem instead of tem) > 2. book shows result of "p s", not "puts s" > > Tem = Struct::new(:foo, :bar) > meinstruct = Tem::new(0,8) > p meinstruct > > will work fine Ahh, i see thanks :) Jonas