Add sample Ruby code