src_ruby code clean