Exception: IndexError
Instance Method Summary collapse
Instance Method Details
#to_s ⇒ Object
86 87 88 89 |
# File 'lib/tyler.rb', line 86 def to_s responses = ["Index error. Talk to me again when you've graduated kindergarten."] return responses[rand(responses.length-1)] end |