From: Ron Jeffries Date: 2002-03-19T22:19:42+09:00 Subject: style choice A style question for the community ... which of the following do you prefer, and why? Or, if you prefer some third version, what is it and why? def degree return @degree if @degree > 0 @scopes.each { | field | @degree += field.length } @degree end def degree @scopes.each { | field | @degree += field.length } if @degree == 0 @degree end Ronald E Jeffries http://www.XProgramming.com http://www.objectmentor.com I'm giving the best advice I have. You get to decide whether it's true for you.