Yes, you are absolutely correct. Block (if you squint) is kind of like a Proc, 
and the arguments in between the pipes are the parameters passed into the block.

Walter

> On Mar 19, 2018, at 12:18 AM, Robert Phillips <robert.phillip...@gmail.com> 
> wrote:
> 
> Isn't  't'  a formal parameter for/of the block,  rather than a name of the 
> block?   I have read that blocks are anonymous/nameless.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/ABC9EE88-3B4D-4DA3-95C0-BE65B73FCB87%40wdstudio.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to