my ruby code demo