Sinatra code example Example: sinatra app.rb require 'sinatra' class App < Sinatra::Base get '/' do "Hello, World!" end end