Read the docs I linked you to, and if that doesn't explain it, then ask the 
author of the code you're extending. It's possible that it is passing a 
reference to a proc or lambda, but I have not seen that exact code before, so I 
can only guess.

Walter

> On Mar 27, 2018, at 2:04 PM, fugee ohu <fugee...@gmail.com> wrote:
> 
> Thanks Walter And passing a symbol to message: how does that work? 
> 
> 

-- 
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/59801D36-D4F0-4032-920A-D16052AC3671%40wdstudio.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to