Skip to content

Instantly share code, notes, and snippets.

@adriand adriand/insult.rb
Created Mar 27, 2010

Embed
What would you like to do?
def follower_insult(followers)
case followers
when 0..100 then ["Hopefully you've got more friends offline, though we're not counting on it."]
when 101..1000 then ["That's like, what, a small village? A hamlet? Way to escape the farmstead, chief.", "And you thought you'd get more popular once you finished high school."]
else ["Proof positive that large numbers of people can be very, very wrong.", "Lemmings."]
end.sort_by { rand }.first
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.