Adding ruby wrapper.