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.
Or maybe you should find the difference between
sort
andsort!
(note that mutating the input is a bad thing)Maybe because your console automatically prints out the returned values?
I don't know what you confirmed, but it works in both MRI here.
Issue clearly specified.
"The following sorting snippet works in my IRB but doesn't work in the tests that are run."
This is confirmed by adding a "p s.sort" in the code.
Issue not specified.
This is a sample test. If you can't pass it, your code is 100% wrong.
This seems broken on Ruby (both MRI versions). The following sorting snippet works in my IRB but doesn't work in the tests that are run.