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 1741793477
Code that is graceful and clear is less likely to break.
Home
Notebook
Contact us