added demo ruby code