Ruby example: file main.rb updated