From: James Edward Gray II Date: 2006-01-24T05:52:38+09:00 Subject: Re: Hungarian Case variable names. On Jan 23, 2006, at 12:49 PM, Kevin Olbrich wrote: > An interesting concept for functional apps (or system) Hungarian in > Ruby. It would be pretty easy to set up the missing_method > function to > extract out certain tags from a variable name. > > For example, > assume you have a model with an attribute called 'Text' > > you could set up missing_method to pick up 'iText' and return > 'Text.to_i' or 'hText' could return 'h(Text)' etc... How are you going to assign a variable (iText = ...), and then convince Ruby to treat it as a method (to trigger method_missing())? James Edward Gray II