We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
I was confused with "..Ruby to identify the class to which the object belongs..." and was using type(obj) to get class of object, not sure if i was reading it wrong or the question could be written better
Cookie support is required to access HackerRank
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 →
I was confused with "..Ruby to identify the class to which the object belongs..." and was using type(obj) to get class of object, not sure if i was reading it wrong or the question could be written better