Revert "Update library.rb"

This reverts commit c377b705d9bad422df5f21c8075808629bbf10fb.