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 1755938407
When in doubt, use brute force.
Home
Notebook
Contact us