def name_repair(var) 
      
   car_names1 = ["HONDA",      
...

Ruby Can I remove the return sta...

by bain19.myopenid.com, July 04, 2010 06:31, 3 refactorings, tagged with ruby, logic, fail, I

What this method does is; I...

642d333608cc3483f64dba38cb81bdd2 Talk
def check_win_streak(streak)
    badge = 10
    while badge < BADGE::MAX_STREAK_BADGE_SIZE do # MAX_STREAK_BADGE_SIZE = 30
...

Ruby how to refactor tricky logi...

by keruilin.myopenid.com, June 06, 2010 20:32, 6 refactorings, tagged with rails, ruby, logic

The rule at work here is th...

2669fbd62908cf7787bd6ac81bad624c Talk