Added example ruby code