Ruby 3.0 should be enabled, see this to learn how to do it
Issue with your code, please read this
I am used to OOP, ive been using the paradigm to reuse and enhance my own software for a long time. The description is an issue.
This kata is a perfect example for why CodeWars gets a bad name. My preference is OOP and i have been using this style to successfully to create my own reusable objects for my games and software for a long time now and this kata is just wrong. Ideally this kata needs to be removed.
Basic subclasses, like Adam and Eve.
This is confusing, I had to see the answers....
yea... this is much more difficult than 8 kyu. Maybe 1 kyu?
we have to answer with class, constructor, extends, and super...
A minor typo in the description: The method should work on any types of needle, and haysta[C]ks.
The method should work on any types of needle, and haysta[C]ks.
This comment is hidden because it contains spoiler information about the solution
I found this to be too difficult for this level
Just to make it clear - some needles looks like that : "__abcd____def__gh" - i haven't foreseen that and instead of spending 5min on it i've wasted an hour :/
One of the worst descriptions I've ever seen here.