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.
- Prepare
- Ruby
- Introduction
- Ruby Tutorial - Everything is an Object
Ruby Tutorial - Everything is an Object
Ruby Tutorial - Everything is an Object
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!