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.
What the eff? They only thing that seems remotely suggestive of what is being sought is:
ReadinputfromSTDIN.PrintoutputtoSTDOUT
So I'm all like:
putsARGF.read
And then it's like "Nope, I wanted you to print 'main'". 8-|
And to find that the excercise was to literally copy the code provided I left a red welt on my forhead from the slap.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Ruby Tutorial - Everything is an Object
You are viewing a single comment's thread. Return to all comments →
What the eff? They only thing that seems remotely suggestive of what is being sought is:
So I'm all like:
And then it's like "Nope, I wanted you to print 'main'". 8-| And to find that the excercise was to literally copy the code provided I left a red welt on my forhead from the slap.