Florian Gross
11/18/2004 12:46:00 AM
Hal Fulton wrote:
> NOTES:
>
> [...]
> - you don't have to pass in the class name
> - it doesn't go into the Struct:: namespace
Note that you don't have to for Struct.new either. It can be used like this:
Person = Struct.new(:name, :age, ...)
Pretty interesting approach by the way.