Fixed Ruby wrapper, +cleaning up
+cleaning up