M
Marc Pou
Hi,
I've a table defined as the code below:
table = Table(%w[Page Position Domain URL Description])
And I fill it as you can see:
table << [iPage, iPosition, sDomain, sURL, sDescription]
When I finish I want output the table doing this:
myfile.puts table.to_s
but the content of the columns is too large and I get this:
+----------------------------------------------------------------------------->>
| Page | Position | Domain | >>
+----------------------------------------------------------------------------->>
| 1 | 1 | www.miltrabajos.com | http://www.miltrabajos.com/Ofe>>
| 1 | 2 | www.miltrabajos.com | http://www.miltrabajos.com/CAM>>
How can I avoid the trucate of the table?
Thanks in advance!
I've a table defined as the code below:
table = Table(%w[Page Position Domain URL Description])
And I fill it as you can see:
table << [iPage, iPosition, sDomain, sURL, sDescription]
When I finish I want output the table doing this:
myfile.puts table.to_s
but the content of the columns is too large and I get this:
+----------------------------------------------------------------------------->>
| Page | Position | Domain | >>
+----------------------------------------------------------------------------->>
| 1 | 1 | www.miltrabajos.com | http://www.miltrabajos.com/Ofe>>
| 1 | 2 | www.miltrabajos.com | http://www.miltrabajos.com/CAM>>
How can I avoid the trucate of the table?
Thanks in advance!