You are viewing a single comment's thread. Return to all comments →
To understand the expression:
value > pass_marks ? "Passed" : "Failed"
search the web for:
Ruby ternary operator
Seems like cookies are disabled on this browser, please enable them to open this website
Ruby - Enumerable - group_by
You are viewing a single comment's thread. Return to all comments →
To understand the expression:
search the web for: