The area method is made available in all objects of class Square,
# so it's considered to be an object method. class Square def initialize(side_length) @side_length = side_length end def area @side_length * @side_length end end