<%= ['Hello', 'Hi', 'Hey', 'Yo'][rand(4)] %> World!
<%= ['Hello', 'Hi', 'Hey', 'Yo'][rand(4)] %> World!

- from SINATRA on AWS Lambda

Also checkout the API example: Hello World
And a web app example: Feedback