D
Don Wilde
[Note: parts of this message were removed to make it a legal post.]
fellow, Rubyists:
I have the following code in a PDF writer using Prawn on Ruby 1.8.7 p249
(Default on Ubuntu 10.04). My problem is that the
@src_file.each do | line |
...
end
... block appears to be rolling over and repeating lines from the beginning
of the file. I tried to use p330 but due to Debian's known ...
eccentricities... it won't load my ruby gems.
@src_file = File.open @src_fn
Prawn:ocument.generate( @out_fn ) do | pdf |
@next = true
@src_file.each do | line |
while @lines_to_do < 1 do
update_state_n_format( pdf )
@next = true if @lines_to_do <= 0
end
process_line( line, pdf )
@lines_to_do -= 1
end
@src_file.close
end
Is this a known issue? Or already fixed?
--
-- Don Wilde
ph: 512-394-8896 skype: donwilde1
e: (e-mail address removed)
"If you are creative and add value to the world, sleep well. You've earned
it."
fellow, Rubyists:
I have the following code in a PDF writer using Prawn on Ruby 1.8.7 p249
(Default on Ubuntu 10.04). My problem is that the
@src_file.each do | line |
...
end
... block appears to be rolling over and repeating lines from the beginning
of the file. I tried to use p330 but due to Debian's known ...
eccentricities... it won't load my ruby gems.
@src_file = File.open @src_fn
Prawn:ocument.generate( @out_fn ) do | pdf |
@next = true
@src_file.each do | line |
while @lines_to_do < 1 do
update_state_n_format( pdf )
@next = true if @lines_to_do <= 0
end
process_line( line, pdf )
@lines_to_do -= 1
end
@src_file.close
end
Is this a known issue? Or already fixed?
--
-- Don Wilde
ph: 512-394-8896 skype: donwilde1
e: (e-mail address removed)
"If you are creative and add value to the world, sleep well. You've earned
it."