Simplifies ruby example

Signed-off-by: Christopher Rogers <chrissrogers@gmail.com>