class RQRCode::Export::SVG::Edge

def end_x

def end_x
  case direction
  when :right then start_x + 1
  when :left then start_x - 1
  else start_x
  end
end