public
Created

DAZ Sinatra Book REview

  • Download Gist
gistfile1.rb
Ruby
1 2 3 4 5 6 7 8 9 10 11 12
get '/' do
stream do |out|
out << "3
sleep 1
out << "2 \n"
sleep 1
out << "1\n"
sleep 1
out << "BLAST OFF!!!"
end
end

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.