From: David Acosta Date: 2012-05-11T15:16:22+09:00 Subject: syntax error, unexpected ',' , expecting ')' Hello people, i am new at ruby and ror developing and i need your help with this: i got this code class Trabajo def saludar(nombre) puts "Hola #{nombre}" yield (("Fulano,32", "lol")) end end class Trabajo2 < Trabajo end tr=Trabajo2.new tr.saludar("David"){ |nombre2, edad| puts "algo raro #{nombre2}, tu edad es: #{edad}" } ok, it is easy but i always got the same error: syntax error, unexpected ',' , expecting ')' could some of you help me, i think the code it's ok. I would be glad for your help.. -- Posted via http://www.ruby-forum.com/.