From: tamouse mailing lists Date: 2013-02-07T12:28:08+09:00 Subject: Re: How to pass established/defined arrays into def method. On Wed, Feb 6, 2013 at 9:16 PM, Tom Stut wrote: > Okay, thank you for your help. I changed player1 to player but when i > run the code i get this error: > >> test.rb:24: syntax error, unexpected ',', expecting ')' >> check_for_flush ('Clubs', player1) Do one of these: a) remove the space(s) between check_for_flush and the opening paren: check_for_flush('Clubs', player1) b) remove the parens completely and leave the spacing as is check_for_flush 'Clubs', player1