Ruby extension library