From: Xavier Noria Date: 2005-12-11T22:49:03+09:00 Subject: Re: erb and scope On Dec 11, 2005, at 13:32, Malte Milatz wrote: > Wybo Dekker: > [erb] >> I need to use $bar instead of bar to get it going... > > @bar will do it, too, and that's maybe the best way to do it. [Other poster suggests passing binding.] I have always wondered why erb does not provide in addition the possibility to pass a regular hash. In general I don't want to design my objects or scopes around a template. Is there a rationale behind that? -- fxn