At Sat, 6 Jan 2001 03:52:47 +0900,
Fujikawa Norihide wrote:
>     cgi.body() do
>       "string" +
>       (0..2).each do |x|
>         name[x]
>        end +
>        "string"
>     end

ただくっつけるだけなら

	name.to_s
	# => "foofugehoge"

間にスペースでも挟むなら

	name.join(' ')
	# => "foo fuge hoge"

さらにそれぞれ何か処理するなら

	name.collect{|x| x.upcase}.join(' ')
	# => "FOO FUGE HOGE"

みたいな感じです。

-- 
                     /
                    /__  __            Akinori.org / MUSHA.org
                   / )  )  ) )  /     FreeBSD.org / Ruby-lang.org
Akinori MUSHA aka / (_ /  ( (__(  @ iDaemons.org / and.or.jp

"We're only at home when we're on the run, on the wing, on the fly"