Other Pages

methods.md

# Methods vs. Functions

* a FUNCTION is a named chunk of code with PARAMETERS and a RETURN VALUE
* a METHOD is a function that is *attached* to a specific object
  * it has privileged access to that object's data
* in Ruby everything's an object, so the terms are mostly interchangeable