Conversation
theweb.rb
Outdated
There was a problem hiding this comment.
Here it looks like you are making a copy of answers, in order to sample it later.
You likely don't need to --- since "sample" is a safe method, it won't change the array you're calling it on.
@answers = ["She can code in Ruby", "She has a dog named Lulu", "She never quite learned how to ride a bike",
"She's seen all Die Hard Movies", "She only uses chopsticks to eat her food"]
@reply = @answers.sample|
Quite excellent! Is this online anywhere? I'd like to check it out. |
|
Hey Jesse, Happy New Year. Best,
|
|
@var114 -- I'll take a look now |
No description provided.