Send
- Send can also be used to actually call a private method.
When a method is called in Ruby:#
- A message containing the method’s name is sent to the object.
- If that method exists on the object, the object calls it.
Calling send on the object#
Output:
Calling sending without the object#
Resources:#
Check:#
- respond_to