one simple ruby code sample