Permalink
Browse files

Minor change: app.rb displayed wrong number for "Description score"

  • Loading branch information...
1 parent 7d8f8ee commit 7eb72908fb9bc2f07271e3ad96e482b4947287e4 @scowalt scowalt committed Mar 5, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 app.rb
View
6 app.rb
@@ -35,9 +35,9 @@ def initialize
pp :info, "Boring images: #{info[0]}"
pp :info, "Followers per tweet: #{info[1]}"
mood[:description] = :bhargav
- mood[:description] = :happy if info[2] > 0
- mood[:description] = :sad if info[2] < 0
- pp mood[:description], "Description score: #{info[2]}; User description: #{status.user.description}"
+ mood[:description] = :happy if info[3] > 0
+ mood[:description] = :sad if info[3] < 0
+ pp mood[:description], "Description score: #{info[3]}; User description: #{status.user.description}"
},
})
end

0 comments on commit 7eb7290

Please sign in to comment.