From: 7stud -- Date: 2008-01-30T14:43:01+09:00 Subject: Re: newbie file write problem Concepts you need to explore: 1) What's the return value of the following method: def g return 10 end Can you write some code that proves what the return value is? 2) What's the return value of the following method: def g 20 end Can you write some code that proves what the return value is? 2) What's the return value of g(): def f return 10 end def g return f end 3) What's the return value of g(): def f return 10 end def g f end -- Posted via http://www.ruby-forum.com/.