Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
As mentioned by samzhao2008, I'm getting a
undefined local variable or method 'employees' for main:Object
error in the Ruby version.inb4 eval = evil :)
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.