Heykuki News
Top
New
Best
Ask
Show
Jobs
Toggle theme
Login
Top
New
Best
Ask
Show
Jobs
Ask HN: Help me refactor this code please (Ruby)
1 point
grover_hartmann
11 years ago
It's basically a vending machine simulation, I want to refactor it into two classes, a model (VendingMachine) and a Controller. I'm not sure what else to do. Please help.
https://gist.github.com/anonymous/a978dcd30383f3e618e5
5 comments
Loading...
Ask HN: Help me refactor this code please (Ruby) | Heykuki News