class RubyXL::Border

def ==(other)

def ==(other)
  (diagonal_up == other.diagonal_up) &&
    (diagonal_down == other.diagonal_down) &&
    (outline == other.outline) &&
    (left == other.left) &&
    (right == other.right) &&
    (top == other.top) &&
    (bottom == other.bottom) &&
    (diagonal == other.diagonal) &&
    (vertical == other.vertical) &&
    (horizontal == other.horizontal)
end

def get_edge_style(direction)

def get_edge_style(direction)
  edge = self.send(direction)
  edge && edge.style
end

def set_edge_style(direction, style)

def set_edge_style(direction, style)
  self.send("#{direction}=", RubyXL::BorderEdge.new(:style => style))
end