Format ruby code