This can work if you do not have strange characters in the content:
sentence = speaker[0] + expression[1] + content[0].inspect

This is better:
sentence = speaker[0] + expression[1] + "\"#{content[0]}\""

2007/9/24, Simon Schuster <significants / gmail.com>:
> using colons for now, but would like to somehow encapsulate a sentence
> in this way (basically), with quotes.
>
> speaker = ["joe ", "betty "]
> expression = ["said: ", "replied: ", "stated: "]
> content = ["hello.", "bye."]
>
> 053:0> sentence = speaker[0] + expression[1] + content[0]
> "joe replied: hello."
> but I'd like to get:
> "joe replied, "hello.""
>
> thanks!
>
>
> !DSPAM:46f7f33b123781222944467!
>
>