lib/prawn/table/cell/span_dummy.rb in prawn-1.0.0.rc2 vs lib/prawn/table/cell/span_dummy.rb in prawn-1.0.0

- old
+ new

@@ -10,10 +10,11 @@ class Cell # A Cell object used to represent all but the topmost cell in a span # group. # + # @private class SpanDummy < Cell def initialize(pdf, master_cell) super(pdf, [0, pdf.cursor]) @master_cell = master_cell @padding = [0, 0, 0, 0] @@ -65,9 +66,13 @@ @master_cell.border_right_width = val if rightmost? end def border_bottom_width=(val) @master_cell.border_bottom_width = val if bottommost? + end + + def background_color + @master_cell.background_color end private # Are we on the right border of the span?