On Mon, Jan 11, 2010 at 11:46 PM, Jeff <[email protected]> wrote: > Hi, > > I've noticed that some of the commits to rails edge lately are using a > style where instance variables of a class start with a leading > underscore. > > Like in this commit: > http://github.com/rails/rails/commit/8cb594a2e1808cd7d93f3593afed0414016fc56f > > I see this variable: > > @_env
This specific example shouldn't be using the "private ivar" naming style since the Rails module is not an inheritable class. -- Joshua Peek
-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.
