O'Reilly logo
  • Sean Bolak thinks this is interesting:

Methods are defined with the def keyword. The return value of a method is the value of the last expression evaluated in its body:

From

Cover of The Ruby Programming Language

Note

Methods (or functions) are defined with the def keyword.