Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit ac7b30281543644550b806de23e44b5a14c207e7 1 parent 910162f
@scowalt scowalt authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 app.rb
View
6 app.rb
@@ -42,9 +42,9 @@ def initialize
pp :info, "Boring images: #{info[0]}"
pp :info, "Followers per tweet: #{info[1]}"
mood[:description] = :bhargav
- 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}"
+ 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}"
},
})
end
Please sign in to comment.
Something went wrong with that request. Please try again.