It's not necessary but the idiom

````
def foo
 # do stuff
 return bar
end
````

is pretty common when you want to be explicit about the intent of the return value to humans (not computers).