[ create a new paste ] login | about

Link: http://codepad.org/PPjhD9rz    [ raw code | output | fork ]

apotheon - Ruby, pasted on Apr 25:
1
2
3
4
5
#!/usr/bin/env ruby

answers = ['yes', 'no', 'maybe', 'ask again later']

puts answers[rand(4)]


Output:
1
yes


Create a new paste based on this one


Comments: