Class: Potato
- Inherits:
-
Object
- Object
- Potato
- Defined in:
- lib/fun.rb
Instance Method Summary collapse
Instance Method Details
#kill ⇒ Object
9 10 11 12 13 |
# File 'lib/fun.rb', line 9 def kill @potato_sentences = ["Not today", "Splash"] @potato_sentence = @potato_sentences[rand(@potato_sentences.size)] puts @potato_sentence end |