Added an example for ruby class