Skip to content

Instantly share code, notes, and snippets.

@thattommyhall
Created February 10, 2011 15:25
Show Gist options
  • Save thattommyhall/820698 to your computer and use it in GitHub Desktop.
Save thattommyhall/820698 to your computer and use it in GitHub Desktop.
The AI for the ScroobyDoll
class John
def like_your_work
puts 'I like your work'
end
def x_your_face x
puts "I'll #{x} your face"
end
end
randomshit = %w[vmware SAN eat network vmotion drink]
john = John.new
randomshit.each do |shit|
john.x_your_face shit
end
puts ""
john.like_your_work
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment