Vários me perguntam. Agulhô o que você quer? Neto ou neta? Nunca tinha respondido tantas vezes essa mesma pergunta. Vou responder com a ajuda de vocês.
Acesse esse site e copie o resultado nos comentários.
require './escolhadavida' | |
run Sinatra::Application |
#encoding: UTF-8 | |
require 'sinatra' | |
POSSIBILIDADES=%w(Liz Valentin) | |
# Liz ou Valentin. O que vier ta bom pra mim. | |
get "/" do | |
escolha_da_vida=Random.rand(2) | |
"#{POSSIBILIDADES[escolha_da_vida]} ta bom pra mim!" | |
end |
source 'http://rubygems.org' | |
gem 'sinatra' |
GEM | |
remote: http://rubygems.org/ | |
specs: | |
rack (1.4.1) | |
rack-protection (1.2.0) | |
rack | |
sinatra (1.3.2) | |
rack (~> 1.3, >= 1.3.6) | |
rack-protection (~> 1.2) | |
tilt (~> 1.3, >= 1.3.3) | |
tilt (1.3.3) | |
PLATFORMS | |
x86-mingw32 | |
DEPENDENCIES | |
sinatra |