>>753
IO.foreachもあるよ。

>>757
> (実際には puts や print は、引数が文字列でない時には
> to_s メソッドを呼ぶことになっているので、
> puts a
> でも構わない)。
単に puts all_data だけでも可。