From: Claes Rembrandt Date: 2008-05-07T17:36:05+09:00 Subject: Re: Reading from file, create a class with variables Pelle Strul wrote: > Hi, I'm trying to load a file with specifications like: > > title :Person > attribute :name, String > attribute :age, Fixnum > constraint :name, 'name != nil' > constraint :name, 'name.size > 0' > constraint :name, 'name =~ /^[A-Z]/' > constraint :age, 'age >= 0' Im also curious about how this could be solved... -- Posted via http://www.ruby-forum.com/.