Skip to content
the poor coder

Hackerrank Ruby Tutorial - Everything is an Object Solution

Poor Man
Published
Updated
Reading time
1 min read

Everything is an object in Ruby. For instance, if you type

print self

in the code-editor, Ruby treats self as the object in which it is currently referred to.

Give it a try!

Solution in ruby#

Python
print self

Keep going

ESC