From: Phrogz Date: 2007-02-18T00:00:15+09:00 Subject: Re: interesting usages of Struct? On Feb 17, 1:39 am, "Robert Dober" wrote: > I was naming regular expressions with it roughly like this > > Fields=Struct.new(:a,:b,:c) > /(x*)(y*)(z*)/ === whatever > named= Fields.new( *Regexp.last_match.captures ) Ooh, that's quite cool. Thanks for sharing that! :)