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.
one_two_three': undefined method
oneTwo' for main:Object (NoMethodError)from
block in <main>' from
times'from `'
The instructions give a function 'oneTwo' but this function does not exist in the Ruby version, the function is actually 'one_two' this is misleading.
Especially since "global" variables in Ruby should be prefixed with $ and this is not the case with this kata.
My solution was accepted without the use of the this function, because I saw no way to use this function until solving it and seeing the solutions that used the given function.
The Ruby version is providing an error from the server that the language is undefined, because once Ruby is selected, the value is blanked. The Ruby version of this Kata is effectively broken at this point.
The example tests have the same issue, but thank you for addressing the random tests
This comment is hidden because it contains spoiler information about the solution