Permalink
Browse files

Small formatting fix

  • Loading branch information...
edmore committed May 24, 2012
1 parent 8f6f476 commit 2dd4d29ff299cc1bbc444576b89e5634f3faa239
Showing with 7 additions and 7 deletions.
  1. +7 −7 peekaboo.rb
View
@@ -31,13 +31,13 @@
get "/start" do
length = redis.llen("questions")
- (length).times do
- question_id = redis.lpop("questions")
- text = redis.get("question:#{question_id}:text")
- system("espeak '#{text}'") || system("speak '#{text}'")
- sleep 5
- end
- [200, {'Content-type' => 'text/plain'},"End of Session"]
+ (length).times do
+ question_id = redis.lpop("questions")
+ text = redis.get("question:#{question_id}:text")
+ system("espeak '#{text}'") || system("speak '#{text}'")
+ sleep 5
+ end
+ [200, {'Content-type' => 'text/plain'},"End of Session"]
end
get "/clear" do

0 comments on commit 2dd4d29

Please sign in to comment.