...

>

Return Values

Return Values

This lesson focuses on how and what a method returns values.

In Ruby, a method always returns exactly one single thing (an object).

The returned object can be anything, but a method can ...

Create a free account to access the full course.

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