class Prawn::Table::Cell
def border_line=(line)
* a four-element array [top, right, bottom, left]
* a three-element array [top, horizontal, bottom]
* a two-element array [vertical, horizontal]
* one value (sets all lines)
Possible values are: :solid, :dashed, :dotted
Sets border line style on this cell. The argument can be one of:
def border_line=(line) @border_lines = case when line.nil? [:solid] * 4 when line.length == 1 # all lines [line[0]] * 4 when line.length == 2 [line[0], line[1], line[0], line[1]] when line.length == 3 [line[0], line[1], line[2], line[1]] when line.length == 4 [line[0], line[1], line[2], line[3]] else raise ArgumentError, "border_line must be one of :solid, :dashed, " ":dotted or an array [v,h] or [t,r,b,l]" end end