Created
February 10, 2011 15:25
-
-
Save thattommyhall/820698 to your computer and use it in GitHub Desktop.
The AI for the ScroobyDoll
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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