Skip to content

Instantly share code, notes, and snippets.

@PatrickTulskie
Created December 18, 2008 20:07
Show Gist options
  • Save PatrickTulskie/37631 to your computer and use it in GitHub Desktop.
Save PatrickTulskie/37631 to your computer and use it in GitHub Desktop.
#IRC Response
=begin
Needs some work, but I could definitely see this helping those people who like to sit in IRC and be jerks when people ask questions.
You could leave your computer and continue be just as unhelpful as you could if you were still there.
=end
def irc_person_response(question)
answer = question.gsub(/How do I/, "Why would you want to")
if answer == question
answer = "Why?"
end
end
puts irc_person_response("How do I make passenger run for longer than 5 minutes?")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment