Timeline for How to improve this Ruby case switch statement?
Current License: CC BY-SA 3.0
3 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Nov 14, 2013 at 17:07 | vote | accept | Tintin81 | ||
| Nov 14, 2013 at 16:57 | comment | added | mu is too short | PLAN_MAXIMUMS.default = 1 and just PLAN_MAXIMUMS[plan.to_sym] would also work. | |
| Nov 14, 2013 at 16:38 | history | answered | spike | CC BY-SA 3.0 |