def top_border_width=(width)
         size = width.nil? ? 0 : width
         if size > 0
            @borders[TOP] = size.to_i
         else
            @borders[TOP] = nil
         end
      end
def top_border_width=(width)
         size = width.nil? ? 0 : width
         if size > 0
            @borders[TOP] = size.to_i
         else
            @borders[TOP] = nil
         end
      end
def top_border_width = ( width ) size = width . nil? ? 0 : width if size > 0 @borders [ TOP ] = size . to_i else @borders [ TOP ] = nil end end
This method assigns a border width to the top side of a table cell.
 Negative values are ignored and a value of 0 switches the border off.

 ==== Parameters
 width::  The new border width setting.
This method assigns a border width to the top side of a table cell . Negative values are ignored and a value of 0 switches the border off .