Ad
  • Custom User Avatar

    As mentioned by samzhao2008, I'm getting a undefined local variable or method 'employees' for main:Object error in the Ruby version.

  • Custom User Avatar

    inb4 eval = evil :)

  • Custom User Avatar

    Fantastic little story to illustrate a real-world example that succesfully masks what'd otherwise be a dry excercise in implementing simple maths.

    As another commenter pointed out, I'm a little disappointed that Codewars is accepting the less accurate implementation w/ simple percentages instead of the proper exponential equation, but I assume that's at no fault of the author and a limitation of either the website or maybe Ruby itself.