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 EightBall | |
def response | |
response_array = ["Signs point to yes", | |
"Signs point to no", | |
"AHAHAHAHA!", | |
"Outlook is positive", | |
"No way Jose!"] | |
response_num = rand(response_array.length) | |
puts response_output = response_array[response_num] |