Simple examples of Ruby code