From: luka luka Date: 2008-05-03T22:01:29+09:00 Subject: a ? b : c Hi all! please explain, what is it? what he is doing? example: x = 6 y = x == 5 ? 0 : 2 puts y // prints 2 or: x == 5 ? puts("one") : puts("two") # Prints two thanks. -- Posted via http://www.ruby-forum.com/.