From: Brian Candler Date: 2008-10-21T17:47:05+09:00 Subject: Re: Can anyone tell me why my code isn't working? Just to make the semantics of 'return' clearer: def foo 1 return 2 raise "Never get here" 3 end puts foo # 2 return doesn't cause store a value for returning later; it causes the method to return immediately, returning that value. -- Posted via http://www.ruby-forum.com/.