Hi Robert,
That's Weld.rb by Rick Wilson at Smustard's: http://www.smustard.com/script/Weld
Note that it won't create "real" circle or arc entities (with their special features like having center points and such) just "glue" the line segments together so that you can work easier.