If I remember correctly you can use stroke_color to set the color on a line like:
mypdf.stroke_color "f0ffc1"
or
mypdf.stroke_color 0,0,0,0 // for CMYK
Hope it helps!
Solution 2
If I remember correctly you can use stroke_color to set the color on a line like:
mypdf.stroke_color "f0ffc1"
or
mypdf.stroke_color 0,0,0,0 // for CMYK
Hope it helps!
OTHER TIPS
To draw a grey horizontal line you must use stroke_horizontal_rule
.
This works:
pdf.stroke_color 'dddddd'
pdf.stroke_horizontal_rule