Got rid of the Ruby class and moved its functions to ruby.cpp