From: Brian Ross Date: 2008-08-29T06:39:35+09:00 Subject: Re: Writing a method to handle a code block? ------=_Part_10367_6718910.1219959858017 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Thu, Aug 28, 2008 at 3:27 PM, Brian Ross wrote: > I guess I am trying to really figure out > how it's working so that I can construct my own and really understand it. > To > sound like an idiot: I still don't really understand how it's working. > Alternatively, if I just run puts each_vowel {} it returns 5 vowels, each on its own line and seems to function the same as: each_vowel {|vowel| puts vowel} Maybe my question is, what is the importance of the second |vowel|? Does the first block argument just get passed to the second block through whichever block argument is given in the second? Also I'm having trouble with the documentation for the call method to figure out how it works. Brian ------=_Part_10367_6718910.1219959858017--