Example Ruby code