Ruby code samples for compute.

:cactus: