You are viewing a single comment's thread. Return to all comments →
Hello Hackerrank,
On my system I am getting correct result with
[Hacker, Submission, TestCase, Contest].include?(obj.class) ? "It's a #{obj.class}!" : "It's an unknown model"
But while submitting it is giving no out put
Seems like cookies are disabled on this browser, please enable them to open this website
Ruby Control Structures - Case (Bonus Question)
You are viewing a single comment's thread. Return to all comments →
Hello Hackerrank,
On my system I am getting correct result with
But while submitting it is giving no out put