Ruby example refator added