From: Ibon Castilla Date: 2009-06-29T21:20:22+09:00 Subject: Methods optional arguments Hi there: I was learning about methods, and when I was trying to use optional arguments I get stucked with this: def my_method (a='This', b='is', c='great') puts a+' '+b+' '+c end If I try: my_method('Ruby') -> Ruby is great -> nil But if I try: my_method(,,'cool') -> SyntaxError: compile error Any idea on how to use arguments different from the first one?. Thank's in advance, Ibon. -- Posted via http://www.ruby-forum.com/.