Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- app = proc do |env|
- message = "It works! But no....\n"
- version = "Ruby %s\n " % RUBY_VERSION
- response = [message, version].join("\n")
- [200, {"Content-Type" => "text/plain"}, [response]]
- end
- run app
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement