Once defined we can use our method
As programmers we usually say that we “call” a method. This means we ask Ruby to execute the code that the method body has, with some given arguments (input), if any.
Here’s ...
Explanation
Let’s inspect ...
Create a free account to access the full course.
By signing up, you agree to Educative's Terms of Service and Privacy Policy