Skip to navigation
Does Ruby has the Ternary Operator?
07.12.13
params[:result] == true ? "true" : "false"
Reply
Anonymous
Does Ruby has the Ternary Operator?
params[:result] == true ? "true" : "false"
07.12.13
Reply
Anonymous
Information Epoch 1758034290
Avoid hand-hacking, write programs to write programs when you can.
Home
Notebook
Contact us