Top-level Object

Learn about the top-level object in Ruby.

We'll cover the following

We’ve learned that objects come with lots of methods attached to them. We’ve seen how we can use them to do interesting things with the object by way of calling these methods.

Now, try running the following code:

Create a free account to access the full course.

By signing up, you agree to Educative's Terms of Service and Privacy Policy