From: Joel VanderWerf Date: 2006-12-17T07:13:47+09:00 Subject: Re: method_missing question George Ogata wrote: > On 12/15/06, Peter Szinek wrote: >> Now, the problem is I would like to write the above example like this: >> >> book do >> title >> price >> end ... > This sort of thing probably already exists somewhere, but I don't know > what it's called. (The 'script' that Michael mentioned looks like > something else to me... ?) Yes, "script" is something else. It's for loading an external "script" inside of a module, to confine it to a namespace. It's like "load(..., true)", but you can access the anonymous module. It has nothing to do with defining a special syntax like the OP wanted. -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407