Robert Klemme <shortcutter / googlemail.com> writes:

[cut]

> values = File.foreach("cl").first(4).map! &:strip!
>
> If there are proper names for variables one can do
>
> name, street, zip, city = File.foreach("cl").first(4).map! &:strip!
>

This is exactly what I tried to figure out. thanks guys :)

jm.