i know that ruby_obj goes out of scope when the function exit. But that
should affect the ruby object should it?