The EagleCAD gem provides tools for working with the files generated by the popular EagleCAD PCB design software.
Add this line to your application's Gemfile:
And then execute:
Or install it yourself as:
$ gem install eaglecad
require 'eaglecad' drawing = EagleCAD.read('my_schematic.sch') drawing.write('cloned_schematic.sch')