ruby: welcome some missing functions back

Change-Id: I46a917c06e338b496b1a94123a71c84bddc93404