sorry just was learning ruby so have some low level questions, :)

in this statement:

1.upto(10) do |c| print c," " end

what's the usage of "| ... |" in ruby? can't easily understand.

Thanks.