You can check this for a quick reference:

http://www.ruby-doc.org/docs/ProgrammingRuby/html/tut_methods.html

Pepe

On Dec 11, 5:14 pm, Bob Sanders <[email protected]>
wrote:
> Ryan Bigg wrote:
> > Or I think you can do *args for the receivIng method and then call it
> > like method(product_attributes) and that will pass the array to the
> > method
>
> Thanks Ryan. Can you explain more about how *args would work? I'm
> googling for more info, but can't seem to find a good tutorial on it.
> --
> Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to