add example code for CRuby

Signed-off-by: KANATSU Minoru <icc.pot.tyew272@gmail.com>