From: Trans Date: 2005-10-02T11:06:46+09:00 Subject: Re: ideas for an RCR: variable locality Eric Mahurin wrote: > Again, my module/end proposal would localize all variables > inside, but would use an external value when reading a local > variable not yet defined. I proposed to reuse "module" to not > create a new keyword, but something else could be used. I don't think reusing 'module' this way is a good idea. Modules don;t grad varaible from outside there scope. > And on the block side, I proposed a new block format ({{...}}) > which would do the same for variables inside the block. In > ruby 2, the default block will have all variables scoped at the > same as what contains the block. {{ }} is ambigous too as an empty hash in a block. T.