Skip to content

Instantly share code, notes, and snippets.

@nicklewis
Created December 25, 2011 04:07
Show Gist options
  • Save nicklewis/11f24996cfbedd964673 to your computer and use it in GitHub Desktop.
Save nicklewis/11f24996cfbedd964673 to your computer and use it in GitHub Desktop.
["Hello. How are you? Additionally, things.",
"Hello. How are you? Additionally, stuff.",
"Hello. How are you? Furthermore, things.",
"Hello. How are you? Furthermore, stuff.",
"Hello. How are you? Therefore, things.",
"Hello. How are you? Therefore, stuff.",
"Hello. How's it going? Additionally, things.",
"Hello. How's it going? Additionally, stuff.",
"Hello. How's it going? Furthermore, things.",
"Hello. How's it going? Furthermore, stuff.",
"Hello. How's it going? Therefore, things.",
"Hello. How's it going? Therefore, stuff.",
"Hello. What's up? Additionally, things.",
"Hello. What's up? Additionally, stuff.",
"Hello. What's up? Furthermore, things.",
"Hello. What's up? Furthermore, stuff.",
"Hello. What's up? Therefore, things.",
"Hello. What's up? Therefore, stuff.",
"Hi. How are you? Additionally, things.",
"Hi. How are you? Additionally, stuff.",
"Hi. How are you? Furthermore, things.",
"Hi. How are you? Furthermore, stuff.",
"Hi. How are you? Therefore, things.",
"Hi. How are you? Therefore, stuff.",
"Hi. How's it going? Additionally, things.",
"Hi. How's it going? Additionally, stuff.",
"Hi. How's it going? Furthermore, things.",
"Hi. How's it going? Furthermore, stuff.",
"Hi. How's it going? Therefore, things.",
"Hi. How's it going? Therefore, stuff.",
"Hi. What's up? Additionally, things.",
"Hi. What's up? Additionally, stuff.",
"Hi. What's up? Furthermore, things.",
"Hi. What's up? Furthermore, stuff.",
"Hi. What's up? Therefore, things.",
"Hi. What's up? Therefore, stuff.",
"Howdy. How are you? Additionally, things.",
"Howdy. How are you? Additionally, stuff.",
"Howdy. How are you? Furthermore, things.",
"Howdy. How are you? Furthermore, stuff.",
"Howdy. How are you? Therefore, things.",
"Howdy. How are you? Therefore, stuff.",
"Howdy. How's it going? Additionally, things.",
"Howdy. How's it going? Additionally, stuff.",
"Howdy. How's it going? Furthermore, things.",
"Howdy. How's it going? Furthermore, stuff.",
"Howdy. How's it going? Therefore, things.",
"Howdy. How's it going? Therefore, stuff.",
"Howdy. What's up? Additionally, things.",
"Howdy. What's up? Additionally, stuff.",
"Howdy. What's up? Furthermore, things.",
"Howdy. What's up? Furthermore, stuff.",
"Howdy. What's up? Therefore, things.",
"Howdy. What's up? Therefore, stuff."]
choices = [
["Hello.", "Hi.", "Howdy."],
["How are you?", "How's it going?", "What's up?"],
["Additionally,", "Furthermore,", "Therefore,"],
["things.", "stuff."]
]
choices.inject do |a,v|
a.product(v).map {|ary| ary.join(' ')}
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment