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 1732374169
Programmer time is expensive, conserve it in preference to machine time.
Home
Notebook
Contact us