adds ruby code sample