Skip to content

Instantly share code, notes, and snippets.

@topnotcher
Created March 20, 2015 21:36
Show Gist options
  • Save topnotcher/1dc988e80c57212003ab to your computer and use it in GitHub Desktop.
Save topnotcher/1dc988e80c57212003ab to your computer and use it in GitHub Desktop.
def fucking_weather(m,where,temp)
tmp = temp.to_i
if tmp < -15
m.reply "IT DOES NOT FUCKING COMPUTE!"
elsif tmp < 0
m.reply "FUCKING STAY INSIDE!"
elsif tmp < 10
m.reply "IT'S FUCKING SUPER DREADFULLY FREEZING!"
elsif tmp < 20
m.reply "IT'S FUCKING FREEZING!!!"
elsif tmp < 32
m.reply "IT'S FUCKING COLD!"
elsif tmp < 45
m.reply "IT'S FUCKING CHILLY!"
elsif tmp < 60
m.reply "IT'S FUCKING MEH!"
elsif tmp < 75
if where =~ /Pleasanton/
m.reply "IT'S FUCKING PLEASANT!"
else
m.reply "IT'S FUCKING OKAY!"
end
elsif tmp < 90
m.reply "IT'S FUCKING NICE!"
elsif tmp < 100
m.reply "IT'S FUCKING HOT!"
else
m.reply "IT'S FUCKING BURNING!"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment