Ruby Return Values
https://medium.com/@carlyannpecora/ruby-return-values-212fdcfe51c
Ruby is a very accessible, easy-to-read programming language. When I started learning Ruby, I found it very programmer-friendly. However, one thing continuously tripped me up: Ruby return values. Every time I called a method, two values would appear in my terminal! Which was the right value, and what did they mean?
> def say_hello> puts "Hello World"> endIf I call my method above, the result will look like this: